Get a single object type definition by name.

@param  string  $name
@return \GraphQL\Language\AST\ObjectTypeDefinitionNode|null
480317
public function objectTypeDefinition(string $name): ?ObjectTypeDefinitionNode
    {
        return $this->objectTypeDefinitions()
            ->first(function (ObjectTypeDefinitionNode $objectType) use ($name): bool {
                return $objectType->name->value === $name;
            });
    }
356210
public function findOneByName($name)
    {
        $entityClass = $this->getEntityClass();

        return $this->getObjectManager()
                    ->getRepository($entityClass)
                    ->findOneByName($name);
    }
705654
public static function get($name): Type
    {
        //internal type
        if ($internalType = self::getInternalType($name)) {
            return $internalType;
        }

        //convert FQCN into type,
        //allowing the use of FQCN for GraphQL scalar types
        if (class_exists($name) || interface_exists($name)) {
            if (\in_array($name, self::$typesMap, true)) {
                $name = array_flip(self::$typesMap)[$name];
            } elseif (self::$endpoint->hasTypeForClass($name)) {
                $name = self::$endpoint->getTypeForClass($name);
            }
        }

        if (!self::has($name)) {
            self::create($name);
        }

        if (self::has($name)) {
            return self::$types[$name];
        }

        throw new InvalidTypeException($name);
    }
557573
public function get($name) {
        return isset($this->metadata[$name]) ? $this->metadata[$name] : null;
    }
1227391
public function getNode($name)
    {
        if ($name === 'localhost') {
            $node = new Node('localhost');
            $node->onLocalhost();
            return $node;
        }
        $nodes = $this->getNodes();

        return isset($nodes[$name]) ? $nodes[$name] : null;
    }
568607
final public function getPropertyType($name) {

		if (in_array($name, ['db', 'loadedFromDb', 'typeList', 'errors'])) {
			$type = NULL;
		} else if (array_key_exists($name, $this->typeList)) {
			$type = $this->typeList[$name];
		} else {
			$type = 'string';
		}

		return $type;
	
	}
1132978
public function getFormType($name)
    {
        return isset($this->forms[$name]['type']) ? $this->forms[$name]['type'] : null;
    }
1141060
public function get($name) {

		if ( array_key_exists( $name, $this->_properties )) {
			return $this->_properties[$name];

		} else if ( isset($this->$name) ) {
			return $this->$name;
		}

		return null;
	}
190938
public static function get($name = null)
    {
        if ($name === null) {
            $name = array_shift(array_keys(self::$containers));
        }
        return self::$containers[$name] ? self::$containers[$name] : null;
    }
533926
protected function getProvider($name) {
        $k = ObjectHelper::getShortName($name);
        $v = $this->getIndex()[$k];
        if (null === $v) {
            return null;
        }
        return $this->getProviders()[$v];
    }
1367957
public function getProperty($name)
    {
        if ($this->reflected->hasProperty($name))
            return $this->annotations['properties'][$name];

        return null;
    }
165036
public function getService($name)
    {
        $container = $this->getContainer();

        return !is_null($container) && isset($container[$name]) ? $container[$name] : null;
    }
905440
public function getPropertyType(string $name)
    {
        return isset($this->propertyTypeMap[$name]) ? $this->propertyTypeMap[$name] : null;
    }
1316300
public function get(string $name)
    {
        if (empty($name)) {
            return null;
        }

        if (isset($this->{$name})) {
            return $this->{$name};
        }

        if (isset($this->properties[$name])) {
            return $this->properties[$name];
        }

        return null;
    }
381199
public function get(string $name)
    {
        return isset(self::$services[$name]) ? self::$services[$name] : null;
    }
141726
public function get($name)
    {
        if (!$name || strpos($name, '.') !== FALSE) {
            return NULL;
        }
		$class = ucfirst($name);
		$files = 'Huasituo\Hstcms\Libraries\Fields';
		$fieldClass = $this->field_class($files, $class);
		if(!class_exists($fieldClass)) {
            return NULL;
		}
		if (isset($this->objects[$class])) {
			return $this->objects[$class];
		} else {
			return $this->objects[$class] = new $fieldClass();
		}
	}
1206724
public function get(string $name)
    {
        return isset($this->headers[$name]) ? $this->headers[$name] : null;
    }