private function getClass(BuilderFactory $factory, string $newClassName, \ReflectionClass $class) : Builder
    {
        $parentClass = $class->name;
        $builder = $factory
            ->class($newClassName)
            ->extend($parentClass)
            ->implement('Ray\Aop\WeavedInterface');
        $builder = $this->addInterceptorProp($builder);

        return $this->addSerialisedAnnotationProp($builder, $class);
    }
private function getClass(BuilderFactory $factory, string $newClassName, \ReflectionClass $class) : Builder
    {
        $parentClass = $class->name;
        $builder = $factory
            ->class($newClassName)
            ->extend($parentClass)
            ->implement('Ray\Aop\WeavedInterface');
        $builder = $this->addInterceptorProp($builder);

        return $this->addSerialisedAnnotationProp($builder, $class);
    }
private function getClass ( BuilderFactory $ factory , string $ newClassName , \ ReflectionClass $ class ) : Builder { $ parentClass = $ class -> name ; $ builder = $ factory -> class ( $ newClassName ) -> extend ( $ parentClass ) -> implement ( 'Ray\Aop\WeavedInterface' ) ; $ builder = $ this -> addInterceptorProp ( $ builder ) ; return $ this -> addSerialisedAnnotationProp ( $ builder , $ class ) ; }
Return class statement
Return class statement