/** * only include a class * @param string $selector the jelix selector correponding to the class */ public static function inc($selector) { $sel = new Selector\ClassSelector($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; }