AssetCompress\Middleware\AssetCompressMiddleware::__construct PHP Метод

__construct() публичный Метод

Constructor
public __construct ( AssetConfig $config = null )
$config MiniAsset\AssetConfig The config object to use. If null, \AssetCompress\ConfigFinder::loadAll() will be used.
    public function __construct(AssetConfig $config = null)
    {
        if ($config === null) {
            $finder = new ConfigFinder();
            $config = $finder->loadAll();
        }
        $this->config = $config;
    }