Contao\CoreBundle\Framework\FrameworkAwareTrait::setFramework PHP Method

setFramework() public method

Sets the framework service.
public setFramework ( Contao\CoreBundle\Framework\ContaoFrameworkInterface $framework = null )
$framework Contao\CoreBundle\Framework\ContaoFrameworkInterface
    public function setFramework(ContaoFrameworkInterface $framework = null)
    {
        $this->framework = $framework;
    }
FrameworkAwareTrait