fromArray() public static method

Initiliaze from array
public static fromArray ( array $array ) : Model
$array array Data
return Model
Example #1
0
 /**
  * Test
  *
  * @return void
  */
 public function testFromArray()
 {
     $this->assertInstanceOf('Gc\\Media\\Icon\\Model', Model::fromArray(array()));
 }