isTrait(); }; PhpDocBuilder::fromNamespace() ->setFilter($filter) ->setOutput(__DIR__.'/../docs/docs/PHP/') ->setImage("https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png") ->addIndexFrontMatter('title', 'MadelineProto API') ->addIndexFrontMatter('description', 'MadelineProto PHP API reference') ->addIndexFrontMatter('has_children', 'true') ->addIndexFrontMatter('has_toc', 'false') ->addIndexFrontMatter('nav_order', '2') ->addFrontMatter('parent', 'MadelineProto API') ->run();