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: 11/27/15 2:05 AM
*/
namespace Youshido\GraphQL\Type;
use Youshido\GraphQL\Type\Object\AbstractObjectType;
abstract class AbstractType implements TypeInterface
{
public function isCompositeType()
return false;
}
/**
* @return AbstractType
public function getType()
return $this;
public function getNamedType()
return $this->getType();
* @return AbstractType|AbstractObjectType
public function getNullableType()
public function isValidValue($value)
return true;
public function parseValue($value)
return $value;
public function parseInputValue($value)
return $this->parseValue($value);
public function serialize($value)
public function isInputType()
public function __toString()
return $this->getName();