private function getContents()
    {
        if ($this->contents) {
            return $this->contents;
        }

        return $this->contents = $this->directory->getContents();
    }
private function getContents()
    {
        if ($this->contents) {
            return $this->contents;
        }

        return $this->contents = $this->directory->getContents();
    }
private function getContents ( ) { if ( $ this -> contents ) { return $ this -> contents ; } return $ this -> contents = $ this -> directory -> getContents ( ) ; }
Lazy load & cache the directory contents.

@return HandlerInterface[]
Lazy load & cache the directory contents .