src/Graviton/GeneratorBundle/Definition/Loader/Strategy/DirStrategy.php
public function load($input)
    {
        return array_map(
            function (SplFileInfo $file) {
                return $file->getContents();
            },
            array_values(iterator_to_array($this->getFinder($input)))
        );
    }
public function load($input)
    {
        return array_map(
            function (SplFileInfo $file) {
                return $file->getContents();
            },
            array_values(iterator_to_array($this->getFinder($input)))
        );
    }
public function load ( $ input ) { return array_map ( function ( SplFileInfo $ file ) { return $ file -> getContents ( ) ; } , array_values ( iterator_to_array ( $ this -> getFinder ( $ input ) ) ) ) ; }
load raw JSON data

@param string|null $input input from command

@return string[]
load raw JSON data