Phrozn/Runner/CommandLine/Commands.php
private function getIterator()
    {
        if (null === $this->getPath()) {
            throw new \RuntimeException('Commands config path not set');
        }
        if (null === $this->it) {
            $this->it =  new \DirectoryIterator($this->getPath());
        }
        return $this->it;
    }
private function getIterator()
    {
        if (null === $this->getPath()) {
            throw new \RuntimeException('Commands config path not set');
        }
        if (null === $this->it) {
            $this->it =  new \DirectoryIterator($this->getPath());
        }
        return $this->it;
    }
private function getIterator ( ) { if ( null === $ this -> getPath ( ) ) { throw new \ RuntimeException ( 'Commands config path not set' ) ; } if ( null === $ this -> it ) { $ this -> it = new \ DirectoryIterator ( $ this -> getPath ( ) ) ; } return $ this -> it ; }
Get DirecotryIterator to commands config path

@return \DirectoryIterator
Get DirecotryIterator to commands config path