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