php-censor/tests/B8Framework/data/generation/ArrayPropertyModel.php
2016-06-23 21:18:41 +06:00

18 lines
No EOL
365 B
PHP
Executable file

<?php
namespace Generation;
use Generation\Model\Uno;
class ArrayPropertyModel extends Uno
{
public function __construct($initialData = array())
{
$this->_getters['array_property'] = 'getArrayProperty';
self::$sleepable[] = 'array_property';
}
public function getArrayProperty()
{
return array('one' => 'two', 'three' => array('four' => 'five'));
}
}