Exemple #1
0
 /**
  * @param string|string[] $dependencies
  */
 public function __invoke($dependencies = array())
 {
     $this->config->addDependencies($dependencies);
     if (!$this->libraryIncluded) {
         $this->view->inlineScript()->appendScript($this->config)->appendFile($this->library);
         $this->libraryIncluded = true;
     }
 }