mirror of
https://github.com/wiosna-dev/common-library.git
synced 2026-03-12 17:41:50 +01:00
39 lines
774 B
PHP
39 lines
774 B
PHP
<?php
|
|
|
|
/**
|
|
* (c) Meritoo.pl, http://www.meritoo.pl
|
|
* For the full copyright and license information, please view the LICENSE
|
|
* file that was distributed with this source code.
|
|
*/
|
|
|
|
namespace Meritoo\Common\Test\Utilities\Reflection;
|
|
|
|
/**
|
|
* The G class.
|
|
* Used for testing the Reflection class.
|
|
*
|
|
* @author Krzysztof Niziol <krzysztof.niziol@meritoo.pl>
|
|
* @copyright Meritoo.pl
|
|
*/
|
|
class G
|
|
{
|
|
private $firstName;
|
|
private $lastName;
|
|
|
|
public function __construct($firstName = 'John', $lastName = 'Scott')
|
|
{
|
|
$this->firstName = $firstName;
|
|
$this->lastName = $lastName;
|
|
}
|
|
|
|
public function getFirstName()
|
|
{
|
|
return $this->firstName;
|
|
}
|
|
|
|
public function getLastName()
|
|
{
|
|
return $this->lastName;
|
|
}
|
|
}
|