src/Graviton/GeneratorBundle/Definition/Loader/Loader.php
public function load($input)
    {
        foreach ($this->strategies as $strategy) {
            if ($strategy->supports($input)) {
                return array_map([$this, 'createJsonDefinition'], $strategy->load($input));
            }
        }

        return [];
    }
public function load($input)
    {
        foreach ($this->strategies as $strategy) {
            if ($strategy->supports($input)) {
                return array_map([$this, 'createJsonDefinition'], $strategy->load($input));
            }
        }

        return [];
    }
public function load ( $ input ) { foreach ( $ this -> strategies as $ strategy ) { if ( $ strategy -> supports ( $ input ) ) { return array_map ( [ $ this , 'createJsonDefinition' ] , $ strategy -> load ( $ input ) ) ; } } return [ ] ; }
load from input

@param string|null $input input from command

@return JsonDefinition[]
load from input