Added B8Framework to project
This commit is contained in:
parent
166e6d8ac0
commit
550e93747c
100 changed files with 7192 additions and 71 deletions
18
B8Framework/tests/data/generation/ArrayPropertyModel.php
Executable file
18
B8Framework/tests/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