php-censor/tests/B8Framework/data/generation/ArrayPropertyModel.php
Dmitry Khomutov 6891b8a75f Code style fixes
2016-06-23 21:21:15 +06:00

18 lines
No EOL
350 B
PHP
Executable file

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