You are here

protected function crumbs_DIC_ServiceContainer::page in Crumbs, the Breadcrumbs suite 7.2

Service that can provide information related to the current page.

Return value

crumbs_CurrentPageInfo

See also

crumbs_DIC_ServiceContainer::$page

File

lib/DIC/ServiceContainer.php, line 107

Class

crumbs_DIC_ServiceContainer
Little brother of a dependency injection container (DIC)

Code

protected function page() {
  return new crumbs_CurrentPageInfo($this->trails, $this->breadcrumbBuilder, $this->router);
}