public function __construct($viewName, array $attributes) { $this->_viewName = $viewName; $this->_attributes = $attributes; $this->_viewPath = Path::join(ROOT_PATH, ApplicationPaths::getViewPath(), $this->_viewName . self::EXTENSION); }