lib/custom/src/MW/Filesystem/Laravel.php
public function scan( $path = null )
	{
		try {
			return array_merge( $this->fs->directories( $path ), $this->fs->files( $path ) );
		} catch( \Exception $e ) {
			throw new Exception( $e->getMessage(), 0, $e );
		}
	}
public function scan( $path = null )
	{
		try {
			return array_merge( $this->fs->directories( $path ), $this->fs->files( $path ) );
		} catch( \Exception $e ) {
			throw new Exception( $e->getMessage(), 0, $e );
		}
	}
public function scan ( $ path = null ) { try { return array_merge ( $ this -> fs -> directories ( $ path ) , $ this -> fs -> files ( $ path ) ) ; } catch ( \ Exception $ e ) { throw new Exception ( $ e -> getMessage ( ) , 0 , $ e ) ; } }
Returns an iterator over the entries in the given path

{@inheritDoc}

@param string $path Path to the filesystem or directory
@return \Iterator|array Iterator over the entries or array with entries
@throws \Aimeos\MW\Filesystem\Exception If an error occurs
Returns an iterator over the entries in the given path