lib/ReflectorBuilder.php
public function addSource($code): ReflectorBuilder
    {
        $source = SourceCode::fromUnknown($code);

        $this->addLocator(new StringSourceLocator($source));

        return $this;
    }
public function addSource($code): ReflectorBuilder
    {
        $source = SourceCode::fromUnknown($code);

        $this->addLocator(new StringSourceLocator($source));

        return $this;
    }
public function addSource ( $ code ) : ReflectorBuilder { $ source = SourceCode :: fromUnknown ( $ code ) ; $ this -> addLocator ( new StringSourceLocator ( $ source ) ) ; return $ this ; }
Add some source code
Add some source code