Exemple #1
0
 /**
  * @return string
  */
 public function getEnabledLibrariesAsString()
 {
     if (empty($this->enabledLibraries)) {
         $this->enabledLibraries = implode(',', $this->libraries->getEnabledLibraries());
     }
     return $this->enabledLibraries;
 }
Exemple #2
0
 /**
  * @param string $identifier
  * @param array $library
  * @return $this
  */
 public function addLibrary($identifier, array $library)
 {
     $this->libraries->addLibrary($identifier, $library);
     return $this;
 }