__construct() public method
Constructor.
public void __construct ( $id, $controller, $config = [] ) | ||
---|---|---|
$id | string |
The ID of this action |
$controller | yii\base\Controller |
The controller that owns this action |
$config | array |
Name-value pairs that will be used to initialize the object properties |
Please login to continue.