/** * Construct. * * @param string $name Name of the action. * @param null $label Label of the action. * @param array $config Optional config. * @param FormType $formType Optional form type. */ public function __construct($name, $label = null, array $config = array(), FormType $formType = null) { parent::__construct($name, $label, $config); $this->formType = $formType; $this->logNamespace = $this->createDefaultLogNamespace(); }
/** * Construct. * * @param string $name Name of the role. * @param string $workflowName Name of the workflow the role belongs to. * @param string|null $label Optional role label. * @param array $config Optional role configuration. */ public function __construct($name, $workflowName, $label = null, array $config = array()) { parent::__construct($name, $label, $config); $this->workflowName = $workflowName; }
/** * Construct. * * @param string $name The name of the workflow. * @param string $providerName Name of the provider. * @param null $label The label of the workflow. * @param array $config Extra config. */ public function __construct($name, $providerName, $label = null, array $config = array()) { parent::__construct($name, $label, $config); $this->providerName = $providerName; }