Beispiel #1
0
 /**
  * @param array $data
  * @param string $type
  */
 public function __construct(array $data = array(), $type = '\\Hynage\\ORM\\Entity')
 {
     parent::__construct($type, $data);
 }
Beispiel #2
0
 public function testSetters()
 {
     $data = new Generic('string');
     $data->set('foo', 'bar');
     $this->assertEquals('bar', $data->get('foo'));
 }