for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* LICENSE: This file is subject to the terms and conditions defined in
* file 'LICENSE', which is part of this source code package.
*
* @copyright 2016 Copyright(c) - All rights reserved.
*/
namespace Rafrsr\LibArray2Object\Tests\Fixtures;
* Class Player
class Player
{
* @var string
protected $name;
* @var integer
protected $number;
* @var float
protected $height;
* @var boolean
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 boolean
public function isRegular()
return $this->regular;
* @param boolean $regular
public function setRegular($regular)
$this->regular = $regular;