for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the rafrsr/lib-array2object package.
*
* (c) Rafael SR <https://github.com/rafrsr>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Rafrsr\LibArray2Object\Tests\Fixtures;
/**
* Class AbstractTeam.
abstract class AbstractTeam
{
* @var int
protected $id;
* @var string
protected $name;
* AbstractTeam constructor.
* @param string $name
public function __construct($name = null)
$this->name = $name;
}
* @return int
public function getId()
return $this->id;
* @return string
public function getName()
return $this->name;
* @return $this
public function setName($name)
return $this;
* {@inheritdoc}
public function __toString()
return (string) $this->getName();