Пример #1
0
 /**
  * @param string $name
  *
  * @return EcrGithubDownloads|JGithubObject
  */
 public function __get($name)
 {
     if ($name == 'downloads') {
         if ($this->downloads == null) {
             $this->downloads = new EcrGithubDownloads($this->options, $this->client);
         }
         return $this->downloads;
     }
     return parent::__get($name);
 }