protected function createArgs(Manager $manager)
    {
        $args = $this->createDefaultArgs($manager);
        foreach ($this->args as $scaffolder) {
            $args[$scaffolder->argName] = $scaffolder->toArray($manager);
        }
        $this->extend('updateArgs', $args, $manager);
        return $args;
    }
protected function createArgs(Manager $manager)
    {
        $args = $this->createDefaultArgs($manager);
        foreach ($this->args as $scaffolder) {
            $args[$scaffolder->argName] = $scaffolder->toArray($manager);
        }
        $this->extend('updateArgs', $args, $manager);
        return $args;
    }
protected function createArgs ( Manager $ manager ) { $ args = $ this -> createDefaultArgs ( $ manager ) ; foreach ( $ this -> args as $ scaffolder ) { $ args [ $ scaffolder -> argName ] = $ scaffolder -> toArray ( $ manager ) ; } $ this -> extend ( 'updateArgs' , $ args , $ manager ) ; return $ args ; }
Parses the args to proper graphql-php spec.

@param Manager $manager
@return array
Parses the args to proper graphql - php spec .