Refactored structure
This commit is contained in:
parent
963225382c
commit
e5164ae1dd
329 changed files with 277 additions and 457 deletions
18
tests/B8Framework/data/generation/ArrayPropertyModel.php
Executable file
18
tests/B8Framework/data/generation/ArrayPropertyModel.php
Executable file
|
|
@ -0,0 +1,18 @@
|
|||
<?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'));
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue