src/Eloquent/Typhoon/Generator/ProjectValidatorGenerator.php
protected function directoryListing($path)
    {
        $this->typeCheck->directoryListing(func_get_args());

        $subPaths = array();
        foreach ($this->isolator->scandir($path) as $subPath) {
            if (
                '.' === $subPath ||
                '..' === $subPath
            ) {
                continue;
            }

            $subPaths[] = sprintf('%s/%s', $path, $subPath);
        }

        return $subPaths;
    }
protected function directoryListing($path)
    {
        $this->typeCheck->directoryListing(func_get_args());

        $subPaths = array();
        foreach ($this->isolator->scandir($path) as $subPath) {
            if (
                '.' === $subPath ||
                '..' === $subPath
            ) {
                continue;
            }

            $subPaths[] = sprintf('%s/%s', $path, $subPath);
        }

        return $subPaths;
    }
@param string $path

@return array<string>