Exemplo n.º 1
0
 protected function setInfo()
 {
     $info = parent::setInfo();
     $info->title = $this->raw->name;
     $info->description = $this->raw->about;
     $info->origin_url = $this->raw->link;
     return $info;
 }
Exemplo n.º 2
0
 protected function setInfo()
 {
     $info = parent::setInfo();
     $info->title = $this->raw['info']->response[0]->name;
     $info->description = $this->raw['info']->response[0]->description;
     $info->origin_url = 'https://vk.com/' . $this->raw['info']->response[0]->screen_name;
     return $info;
 }