Skip to content

Commit

Permalink
Extension in construct
Browse files Browse the repository at this point in the history
  • Loading branch information
VeeeneX committed Aug 12, 2015
1 parent 14f15f5 commit a90f71d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/MVC/View.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@ class View
protected $data = [];
protected $template = "master";
protected $extension;

private $Engine;

public function __construct($Engine)
public function __construct($Engine, $extension = null)
{
$this->Engine = $Engine;
$this->extension = $extension;
}

public function __get($key)
Expand Down

0 comments on commit a90f71d

Please sign in to comment.