|
|
@ -1,6 +1,6 @@
|
|
|
|
<?php
|
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
|
|
namespace Artmark\CrumbSequence;
|
|
|
|
namespace Artmark\BreadCrumbs;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Description of BreadCrumbSequence
|
|
|
|
* Description of BreadCrumbSequence
|
|
|
@ -11,7 +11,7 @@ class BreadCrumbSequence
|
|
|
|
{
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @var CrumbSequence
|
|
|
|
* @var BreadCrumbSequence
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
private static $instance = null;
|
|
|
|
private static $instance = null;
|
|
|
|
|
|
|
|
|
|
|
@ -27,12 +27,12 @@ class BreadCrumbSequence
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @return CrumbSequence
|
|
|
|
* @return BreadCrumbSequence
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public static function instance()
|
|
|
|
public static function instance()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (is_null(self::$instance)) {
|
|
|
|
if (is_null(self::$instance)) {
|
|
|
|
self::$instance = new CrumbSequence();
|
|
|
|
self::$instance = new BreadCrumbSequence();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
return self::$instance;
|
|
|
|
return self::$instance;
|
|
|
|