public static function getInstance() { static $instance = null; if (!$instance) { $instance = new self(); } return $instance; }
/** * Return the class filter for this pointcut. * * @return PointFilter */ public function getClassFilter() { if (!$this->classFilter) { $this->classFilter = TruePointFilter::getInstance(); } return $this->classFilter; }