public function addAspect(Aspect $aspect)
    {
        if ($this->container !== null) {
            $this->container->registerAspect($aspect);
        }

        return $this;
    }
public function addAspect(Aspect $aspect)
    {
        if ($this->container !== null) {
            $this->container->registerAspect($aspect);
        }

        return $this;
    }
public function addAspect ( Aspect $ aspect ) { if ( $ this -> container !== null ) { $ this -> container -> registerAspect ( $ aspect ) ; } return $ this ; }
Registers an aspect to the aspects kernel
@param Aspect $aspect
@return $this
Registers an aspect to the aspects kernel