src/Type/SchemaDirectivesList.php
public function addDirectives($directives)
    {
        if (!is_array($directives)) {
            throw new \Exception('addDirectives accept only array of directives');
        }
        foreach ($directives as $directive) {
            $this->addDirective($directive);
        }

        return $this;
    }
public function addDirectives($directives)
    {
        if (!is_array($directives)) {
            throw new \Exception('addDirectives accept only array of directives');
        }
        foreach ($directives as $directive) {
            $this->addDirective($directive);
        }

        return $this;
    }
@param array $directives

@throws
@return $this