Kraken\Util\Factory\FactoryTrait::getDefinition PHP Method

getDefinition() public method

See also: FactoryInterface::getDefinition
public getDefinition ( $name )
    public function getDefinition($name)
    {
        if (!isset($this->definitions[$name])) {
            throw new IllegalFieldException("Factory does not posses definition [{$name}].");
        }
        return $this->definitions[$name];
    }