PHP 클래스 raoul2000\workflow\source\file\PhpClassLoader

The PHP class is expected to implement the **IWorkflowDefinitionProvider** interface.
상속: extends WorkflowDefinitionLoader
파일 보기 프로젝트 열기: raoul2000/yii2-workflow

공개 프로퍼티들

프로퍼티 타입 설명
$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