thephpleague/flysystem — pull request #345 by Markcial (2014-12-11 12:12:09+00:00)
Title: Added support for glob patterns on the filesystems that support it

Just an idea about giving more flexibility to the filesystems if they support different king of operations by replacing the boolean parameter in the `listContents` by another one that uses bit mask operations, this way you can add glob behaviour to the local filesystem for example, this way exceptions can be thrown if the mode is not supported by the filesystem for example.

Feel free to review or debate about this, i think that could be a nice addition.

Regards