You are here

public function ScssCompilerController::__construct in SCSS/Less Compiler 8

Constructs a ScssCompilerController object.

Parameters

\Drupal\scss_compiler\ScssCompilerInterface $scss_compiler: A scss compiler service instance.

\Symfony\Component\HttpFoundation\RequestStack $request_stack: A request stack symfony instance.

File

src/Controller/ScssCompilerController.php, line 38

Class

ScssCompilerController
ScssCompiler controller object.

Namespace

Drupal\scss_compiler\Controller

Code

public function __construct(ScssCompilerInterface $scss_compiler, RequestStack $request_stack) {
  $this->scssCompiler = $scss_compiler;
  $this->requestStack = $request_stack;
}