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 Player.
class Player
{
* @var string
protected $name;
* @var int
protected $number;
* @var float
protected $height;
* @var bool
protected $regular;
* Player constructor.
* @param string $name
* @param int $number
public function __construct($name = null, $number = null)
$this->name = $name;
$this->number = $number;
}
* @return string
public function getName()
return $this->name;
* @return $this
public function setName($name)
return $this;
* @return int
public function getNumber()
return $this->number;
public function setNumber($number)
* @return float
public function getHeight()
return $this->height;
* @param float $height
public function setHeight($height)
$this->height = $height;
* @return bool
public function isRegular()
return $this->regular;
* @param bool $regular
public function setRegular($regular)
$this->regular = $regular;