Sonata\CustomerBundle\Block\RecentCustomersBlockService::__construct PHP Method

__construct() public method

public __construct ( string $name, Symfony\Bundle\FrameworkBundle\Templating\EngineInterface $templating, Sonata\Component\Customer\CustomerManagerInterface $manager, Sonata\AdminBundle\Admin\Pool $adminPool = null )
$name string
$templating Symfony\Bundle\FrameworkBundle\Templating\EngineInterface
$manager Sonata\Component\Customer\CustomerManagerInterface
$adminPool Sonata\AdminBundle\Admin\Pool
    public function __construct($name, EngineInterface $templating, CustomerManagerInterface $manager, Pool $adminPool = null)
    {
        $this->manager = $manager;
        $this->adminPool = $adminPool;
        parent::__construct($name, $templating);
    }