Neos\ContentRepository\Domain\Model\NodeType::__call PHP Method

__call() public method

Magic get* and has* method for all properties inside $configuration.
Deprecation: Use hasConfiguration() or getConfiguration() instead
public __call ( string $methodName, array $arguments ) : mixed
$methodName string
$arguments array
return mixed
    public function __call($methodName, array $arguments)
    {
        if (substr($methodName, 0, 3) === 'get') {
            $configurationKey = lcfirst(substr($methodName, 3));
            return $this->getConfiguration($configurationKey);
        } elseif (substr($methodName, 0, 3) === 'has') {
            $configurationKey = lcfirst(substr($methodName, 3));
            return $this->hasConfiguration($configurationKey);
        }
        trigger_error('Call to undefined method ' . get_class($this) . '::' . $methodName, E_USER_ERROR);
    }