Phalcon\Mvc\Model\EagerLoading\Loader::fromArray PHP Method

fromArray() public static method

Create and get from an array
public static fromArray ( array $subject ) : array
$subject array
return array
    public static function fromArray(array $subject)
    {
        $reflection = new \ReflectionClass(__CLASS__);
        $instance = $reflection->newInstanceArgs(func_get_args());
        return $instance->execute()->get();
    }