public static function parseFile(string $file, array $data = []): array
    {
        $string = file_get_contents($file);

        return static::parse($string, $data);
    }
public static function parseFile(string $file, array $data = []): array
    {
        $string = file_get_contents($file);

        return static::parse($string, $data);
    }
public static function parseFile ( string $ file , array $ data = [ ] ) : array { $ string = file_get_contents ( $ file ) ; return static :: parse ( $ string , $ data ) ; }
Parse objects file into objects

@param string $file
@param array $data
@return array
Parse objects file into objects