Ojs\ApiBundle\Service\Twig\ApiTwigExtension::__construct PHP 메소드

__construct() 공개 메소드

public __construct ( Symfony\Component\Routing\RouterInterface $router )
$router Symfony\Component\Routing\RouterInterface
    public function __construct(RouterInterface $router)
    {
        $this->router = $router;
    }