protected function factory()
    {
        if (empty($this->factory)) {
            $this->config->theme($this->getView()->getTheme());
            $this->factory = new Factory($this->config);
        }

        return $this->factory;
    }
protected function factory()
    {
        if (empty($this->factory)) {
            $this->config->theme($this->getView()->getTheme());
            $this->factory = new Factory($this->config);
        }

        return $this->factory;
    }
protected function factory ( ) { if ( empty ( $ this -> factory ) ) { $ this -> config -> theme ( $ this -> getView ( ) -> getTheme ( ) ) ; $ this -> factory = new Factory ( $ this -> config ) ; } return $ this -> factory ; }
Get the AssetCompress factory based on the config object.

@return \AssetCompress\Factory
Get the AssetCompress factory based on the config object .