/** * 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(); }
/** * __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; }