Neos\ContentRepository\Domain\Model\NodeType::getConfiguration PHP Méthode

getConfiguration() public méthode

Returns the configuration option with the specified $configurationPath or NULL if it does not exist
public getConfiguration ( string $configurationPath ) : mixed
$configurationPath string The name of the configuration option to retrieve
Résultat mixed
    public function getConfiguration($configurationPath)
    {
        $this->initialize();
        return ObjectAccess::getPropertyPath($this->fullConfiguration, $configurationPath);
    }

Usage Example

 /**
  * @test
  */
 public function getConfigurationReturnsNullIfTheSpecifiedPathDoesNotExist()
 {
     $nodeType = new NodeType('Neos.ContentRepository:Base', array(), array());
     $this->assertNull($nodeType->getConfiguration('some.nonExisting.path'));
 }
All Usage Examples Of Neos\ContentRepository\Domain\Model\NodeType::getConfiguration