ezcWorkflow::__get PHP Метод

__get() публичный Метод

Property read access.
public __get ( string $propertyName ) : mixed
$propertyName string Name of the property.
Результат mixed Value of the property or null.
    public function __get($propertyName)
    {
        switch ($propertyName) {
            case 'definitionStorage':
            case 'id':
            case 'name':
            case 'startNode':
            case 'endNode':
            case 'finallyNode':
            case 'version':
                return $this->properties[$propertyName];
            case 'nodes':
                $visitor = new ezcWorkflowVisitorNodeCollector($this);
                return $visitor->getNodes();
        }
        throw new ezcBasePropertyNotFoundException($propertyName);
    }