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