for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is a part of graphql-youshido project.
*
* @author Alexandr Viniychuk <[email protected]>
* created: 12/1/15 11:26 PM
*/
namespace Youshido\GraphQL\Type\Field;
use Youshido\GraphQL\Type\Config\Field\InputFieldConfig;
class InputField extends Field
{
/** @var InputFieldConfig */
protected $config;
public function __construct($config)
$this->config = new InputFieldConfig($config);
}
public function getDefaultValue()
return $this->config->getDefaultValue();