Neos\Flow\Tests\Functional\Property\Fixtures\TestEntity::setYearOfBirth PHP Method

setYearOfBirth() public method

For test purposes the reference year is hard-coded to 2013.
public setYearOfBirth ( integer $yearOfBirth )
$yearOfBirth integer
    public function setYearOfBirth($yearOfBirth)
    {
        $this->setAge(2013 - $yearOfBirth);
    }