File Access

PhpDocumentor uses FlySystem to access project sources, templates, and write the generated files back to the destination locations. This allows us to use other locations than just the host filesystem. And doesn't make us bother on the differences between the different operating systems.

In the current version of phpDocumentor, only local filesystems are supported.

Creating filesystems

Filesystems used in the application are created by the phpDocumentor\Parser\FlySystemFactory service. Because of a number of important changes that are made to the handling of phpDocumentor\Dsn it is required that all League\Flysystem\Filesystem objects are created using this factory.

Search results