public static function createInstance(): self
    {
        return new static(
            [
                new Factory\Argument(new PrettyPrinter()),
                new Factory\Class_(),
                new Factory\Constant(new PrettyPrinter()),
                new Factory\DocBlock(DocBlockFactory::createInstance()),
                new Factory\File(NodesFactory::createInstance()),
                new Factory\Function_(),
                new Factory\Interface_(),
                new Factory\Method(),
                new Factory\Property(new PrettyPrinter()),
                new Factory\Trait_(),
            ]
        );
    }
public static function createInstance(): self
    {
        return new static(
            [
                new Factory\Argument(new PrettyPrinter()),
                new Factory\Class_(),
                new Factory\Constant(new PrettyPrinter()),
                new Factory\DocBlock(DocBlockFactory::createInstance()),
                new Factory\File(NodesFactory::createInstance()),
                new Factory\Function_(),
                new Factory\Interface_(),
                new Factory\Method(),
                new Factory\Property(new PrettyPrinter()),
                new Factory\Trait_(),
            ]
        );
    }
public static function createInstance ( ) : self { return new static ( [ new Factory \ Argument ( new PrettyPrinter ( ) ) , new Factory \ Class_ ( ) , new Factory \ Constant ( new PrettyPrinter ( ) ) , new Factory \ DocBlock ( DocBlockFactory :: createInstance ( ) ) , new Factory \ File ( NodesFactory :: createInstance ( ) ) , new Factory \ Function_ ( ) , new Factory \ Interface_ ( ) , new Factory \ Method ( ) , new Factory \ Property ( new PrettyPrinter ( ) ) , new Factory \ Trait_ ( ) , ] ) ; }
Creates a new instance of this factory. With all default strategies.
Creates a new instance of this factory . With all default strategies .