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 1:00 AM
*/
namespace Youshido\GraphQL\Type\Scalar;
use Youshido\GraphQL\Type\AbstractType;
use Youshido\GraphQL\Type\Config\TypeConfigInterface;
use Youshido\GraphQL\Type\TypeMap;
abstract class AbstractScalarType extends AbstractType
{
public function getName()
$className = get_class($this);
return substr($className, strrpos($className, '\\') + 1, -4);
}
final public function getKind()
return TypeMap::KIND_SCALAR;
public function getType()
return $this;
public function build($config) {}