Back to RouterViewConfiguration class

Method __construct

public
__construct
(mixed $name)
Constructor for the View-configuration class
Parameters
  • string $name Name of the view
Since
  • 3.5

Method __construct - Source code

/**
 * Constructor for the View-configuration class
 *
 * @param   string  $name  Name of the view
 *
 * @since   3.5
 */
public function __construct($name)
{
    $this->name = $name;
    $this->path[] = $name;
}