for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* This file is part of the wow-apps/symfony-packagist project
* https://github.com/wow-apps/symfony-packagist
*
* (c) 2017 WoW-Apps
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace WowApps\PackagistBundle\DTO;
* Class PackageMaintainer
* @author Alexey Samara <[email protected]>
* @package wow-apps/symfony-packagist
class PackageMaintainer
{
/** @var string */
private $name;
private $avatarUrl;
* PackageMaintainer constructor.
* @param string $name
* @param string $avatarUrl
public function __construct(string $name = '', string $avatarUrl = '')
$this
->setName($name)
->setAvatarUrl($avatarUrl)
;
}
* @return string
public function getName(): string
return $this->name;
* @return PackageMaintainer
public function setName(string $name): PackageMaintainer
$this->name = $name;
return $this;
public function getAvatarUrl(): string
return $this->avatarUrl;
public function setAvatarUrl(string $avatarUrl): PackageMaintainer
$this->avatarUrl = $avatarUrl;