GraphQL\Type\Definition\Directive::__construct PHP Méthode

__construct() public méthode

Directive constructor.
public __construct ( array $config )
$config array
    public function __construct(array $config)
    {
        foreach ($config as $key => $value) {
            $this->{$key} = $value;
        }
    }