for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Osnova\Services\Timeline;
use Osnova\Services\ServiceEntity;
class Author extends ServiceEntity
{
/**
* Get author ID.
*
* @return int|null
*/
public function getId()
return $this->getData('id');
return $this->getData('id')
array|string
integer|null
}
* Get author name.
* @return string|null
public function getName()
return $this->getData('name');
return $this->getData('name')
array
null|string
* Get author's avatar URL.
public function getAvatarUrl()
return $this->getData('avatar_url');
return $this->getData('avatar_url')