Esempio n. 1
0
 /**
  * @param PlaceholderAbstract $placeholder
  * @return void
  */
 public function addPlaceholder(PlaceholderAbstract $placeholder)
 {
     if ($placeholder instanceof PlaceholderPrefixInterface) {
         $placeholder->setPrefix($this->getPrefix());
     }
     $this->placeholders[$placeholder->getName()] = $placeholder;
 }