PHP Class Sonata\ProductBundle\Seo\Services\Facebook

Author: Xavier Coureau ([email protected])
Inheritance: implements Sonata\ProductBundle\Seo\Services\ServiceInterface
显示文件 Open project: sonata-project/ecommerce Class Usage Examples

Protected Properties

Property Type Description
$currencyDetector Sonata\Component\Currency\CurrencyDetectorInterface
$domain string | null
$mediaFormat string | null
$mediaPool Sonata\MediaBundle\Provider\Pool
$numberHelper Sonata\IntlBundle\Templating\Helper\NumberHelper
$router Symfony\Component\Routing\RouterInterface

Public Methods

Method Description
__construct ( Symfony\Component\Routing\RouterInterface $router, Sonata\MediaBundle\Provider\Pool $mediaPool, Sonata\IntlBundle\Templating\Helper\NumberHelper $numberHelper, Sonata\Component\Currency\CurrencyDetectorInterface $currencyDetector, string $domain, $mediaFormat )
alterPage ( Sonata\SeoBundle\Seo\SeoPageInterface $seoPage, Sonata\Component\Product\ProductInterface $product )

Protected Methods

Method Description
addImageInfo ( Sonata\MediaBundle\Model\MediaInterface $image, Sonata\SeoBundle\Seo\SeoPageInterface $seoPage )
registerHeaders ( Sonata\SeoBundle\Seo\SeoPageInterface $seoPage )

Method Details

__construct() public method

public __construct ( Symfony\Component\Routing\RouterInterface $router, Sonata\MediaBundle\Provider\Pool $mediaPool, Sonata\IntlBundle\Templating\Helper\NumberHelper $numberHelper, Sonata\Component\Currency\CurrencyDetectorInterface $currencyDetector, string $domain, $mediaFormat )
$router Symfony\Component\Routing\RouterInterface
$mediaPool Sonata\MediaBundle\Provider\Pool
$numberHelper Sonata\IntlBundle\Templating\Helper\NumberHelper
$currencyDetector Sonata\Component\Currency\CurrencyDetectorInterface
$domain string
$mediaFormat

addImageInfo() protected method

protected addImageInfo ( Sonata\MediaBundle\Model\MediaInterface $image, Sonata\SeoBundle\Seo\SeoPageInterface $seoPage )
$image Sonata\MediaBundle\Model\MediaInterface
$seoPage Sonata\SeoBundle\Seo\SeoPageInterface

alterPage() public method

public alterPage ( Sonata\SeoBundle\Seo\SeoPageInterface $seoPage, Sonata\Component\Product\ProductInterface $product )
$seoPage Sonata\SeoBundle\Seo\SeoPageInterface
$product Sonata\Component\Product\ProductInterface

registerHeaders() protected method

protected registerHeaders ( Sonata\SeoBundle\Seo\SeoPageInterface $seoPage )
$seoPage Sonata\SeoBundle\Seo\SeoPageInterface

Property Details

$currencyDetector protected_oe property

protected CurrencyDetectorInterface,Sonata\Component\Currency $currencyDetector
return Sonata\Component\Currency\CurrencyDetectorInterface

$domain protected_oe property

protected string|null $domain
return string | null

$mediaFormat protected_oe property

protected string|null $mediaFormat
return string | null

$mediaPool protected_oe property

protected Pool,Sonata\MediaBundle\Provider $mediaPool
return Sonata\MediaBundle\Provider\Pool

$numberHelper protected_oe property

protected NumberHelper,Sonata\IntlBundle\Templating\Helper $numberHelper
return Sonata\IntlBundle\Templating\Helper\NumberHelper

$router protected_oe property

protected RouterInterface,Symfony\Component\Routing $router
return Symfony\Component\Routing\RouterInterface