PHPComposter\PHPComposter\BaseAction::__construct PHP Method

__construct() public method

Instantiate a BaseAction object.
Since: 0.1.3
public __construct ( string $hook, string $root )
$hook string The name of the hook that was triggered.
$root string Absolute path to the root folder of the package.
    public function __construct($hook, $root)
    {
        $this->root = $root;
        $this->hook = $hook;
    }