Example #1
0
 public function __construct(Response $response, CachingFileResponseFactory $fileResponseFactory, FilePacker $filePacker, WebRootPath $webRootPath)
 {
     $this->fileResponseFactory = $fileResponseFactory;
     $this->webRootPath = $webRootPath->getPath();
     $this->filePacker = $filePacker;
     $this->response = $response;
 }
Example #2
0
 public function __construct(CachePath $cachePath, AutogenPath $autogenPath, WebRootPath $webRootPath, ExternalLibPath $externalLibPath, YuiCompressorPath $yuiCompressorPath)
 {
     $this->cachePath = $cachePath->getPath();
     $this->autogenPath = $autogenPath->getPath();
     $this->webRootPath = $webRootPath->getPath();
     $this->externalLibPath = $externalLibPath->getPath();
     $this->yuiCommpressorPath = $yuiCompressorPath;
 }