PHP Класс raoul2000\workflow\source\file\PhpClassLoader

The PHP class is expected to implement the **IWorkflowDefinitionProvider** interface.
Наследование: extends WorkflowDefinitionLoader
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$namespace namespace where workflow definition class are located

Открытые методы

Метод Описание
getClassname ( string $workflowId ) : string Returns the complete name for the Workflow Provider class used to retrieve the definition of workflow $workflowId.
getNameSpace ( ) : string Returns the namespace value used to load the workflow definition provider class.
loadDefinition ( string $workflowId, unknown $source ) Instanciate the PHP class to use as workflow definition provider, retrieve the workflow definition and parses it.

Описание методов

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

The class name is built by appending the workflow id to the namespace parameter set for this source component.
public getClassname ( string $workflowId ) : string
$workflowId string a workflow id
Результат string the full qualified class name used to provide definition for the workflow

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

If the alias with name self::NAMESPACE_ALIAS_NAME is found, it takes precedence over the configured *namespace* attribute.
public getNameSpace ( ) : string
Результат string the namespace value

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

Instanciate the PHP class to use as workflow definition provider, retrieve the workflow definition and parses it.
public loadDefinition ( string $workflowId, unknown $source )
$workflowId string
$source unknown

Описание свойств

$namespace публичное свойство

namespace where workflow definition class are located
public $namespace