Go\Core\AspectContainer::getPointcut PHP Method

getPointcut() public method

Returns a pointcut by identifier
public getPointcut ( string $id ) : Go\Aop\Pointcut
$id string Pointcut identifier
return Go\Aop\Pointcut
    public function getPointcut($id);

Usage Example

 /**
  * Returns a real pointcut from the container
  *
  * @return Pointcut
  */
 public function getPointcut()
 {
     if (!$this->pointcut) {
         $this->pointcut = $this->container->getPointcut($this->pointcutName);
     }
     return $this->pointcut;
 }
All Usage Examples Of Go\Core\AspectContainer::getPointcut