Ejemplo n.º 1
0
 /**
  * include an interface
  * @param string $selector the jelix selector correponding to the interface
  * @since 1.0b2
  */
 public static function incIface($selector)
 {
     $sel = new Selector\InterfaceSelector($selector);
     require_once $sel->getPath();
 }
Ejemplo n.º 2
0
 /**
  * __constructor
  * @param Selector\ClassSelector|Selector\InterfaceSelector $selector the selector of the class
  * @return void
  */
 public function __construct($selector)
 {
     require_once $selector->getPath();
     $this->fromSelector = $selector;
 }