FOF30\Render\AkeebaStrapper::__construct PHP Method

__construct() public method

Public constructor. Determines the priority of this class and if it should be enabled
public __construct ( Container $container )
$container FOF30\Container\Container
    public function __construct(Container $container)
    {
        $this->priority = 60;
        $this->enabled = class_exists('\\AkeebaStrapper30');
        parent::__construct($container);
    }

Usage Example

Esempio n. 1
0
 public function __construct(Container $container)
 {
     parent::__construct($container);
     $this->priority = 55;
     $this->enabled = version_compare(JVERSION, '3.0', 'ge');
 }