diff --git a/src/Block/Breadcrumb/BaseBreadcrumbMenuBlockService.php b/src/Block/Breadcrumb/BaseBreadcrumbMenuBlockService.php index c1b7e934..359f180d 100644 --- a/src/Block/Breadcrumb/BaseBreadcrumbMenuBlockService.php +++ b/src/Block/Breadcrumb/BaseBreadcrumbMenuBlockService.php @@ -18,7 +18,6 @@ use Knp\Menu\Provider\MenuProviderInterface; use Sonata\BlockBundle\Block\BlockContextInterface; use Sonata\BlockBundle\Block\Service\MenuBlockService; -use Sonata\SeoBundle\BreadcrumbInterface; use Symfony\Bundle\FrameworkBundle\Templating\EngineInterface; use Symfony\Component\OptionsResolver\OptionsResolver; @@ -27,7 +26,7 @@ * * @author Sylvain Deloux */ -abstract class BaseBreadcrumbMenuBlockService extends MenuBlockService implements BreadcrumbInterface +abstract class BaseBreadcrumbMenuBlockService extends MenuBlockService implements BreadcrumbBlockService { /** * @var string diff --git a/src/Block/Breadcrumb/BreadcrumbBlockService.php b/src/Block/Breadcrumb/BreadcrumbBlockService.php new file mode 100644 index 00000000..f9c74a6b --- /dev/null +++ b/src/Block/Breadcrumb/BreadcrumbBlockService.php @@ -0,0 +1,20 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Sonata\SeoBundle\Block\Breadcrumb; + +use Sonata\SeoBundle\BreadcrumbInterface; + +interface BreadcrumbBlockService extends BreadcrumbInterface +{ +} diff --git a/src/BreadcrumbInterface.php b/src/BreadcrumbInterface.php index 0de02661..24d6c656 100644 --- a/src/BreadcrumbInterface.php +++ b/src/BreadcrumbInterface.php @@ -15,6 +15,9 @@ use Sonata\BlockBundle\Block\Service\BlockServiceInterface; +/** + * @deprecated since sonata-project/seo-bundle 2.x, to be removed in 3.0. Use Sonata\SeoBundle\Block\Breadcrumb\Breadcrumb instead. + */ interface BreadcrumbInterface extends BlockServiceInterface { /**