for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is a part of GraphQL project.
*
* @author Alexandr Viniychuk <[email protected]>
* created: 5:07 PM 5/14/16
*/
namespace Youshido\GraphQL\Type\Traits;
use Youshido\GraphQL\Config\Traits\ConfigAwareTrait;
/**
* Class ArgumentsAwareObjectTrait
* @package Youshido\GraphQL\Type\Traits
* @codeCoverageIgnore
* @deprecated To be removed during the release optimization
trait ArgumentsAwareObjectTrait
{
use ConfigAwareTrait;
public function addArgument($argument, $argumentInfo = null)
return $this->getConfig()->addArgument($argument, $argumentInfo);
}
public function removeArgument($argumentName)
return $this->getConfig()->removeArgument($argumentName);
public function getArguments()
return $this->getConfig()->getArguments();
public function getArgument($argumentName)
return $this->getConfig()->getArgument($argumentName);
public function hasArgument($argumentName)
return $this->getConfig()->hasArgument($argumentName);
public function hasArguments()
return $this->getConfig()->hasArguments();