Prose\UsingProvisioningEngine::__construct PHP Метод

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

public __construct ( StoryTeller $st, $args )
$st DataSift\Storyplayer\PlayerLib\StoryTeller
    public function __construct(StoryTeller $st, $args)
    {
        // call our parent
        parent::__construct($st, $args);
        // $args[0] should contain the name of a valid provisioning helper
        if (!isset($args[0])) {
            throw new E5xx_ActionFailed(__METHOD__, "Param #0 must be the name of the provisioning engine you want to use");
        }
        // remember the provisioner for later
        $this->adapter = ProvisioningLib::getProvisioner($st, $args[0]);
    }
UsingProvisioningEngine