protected function setDirectories(array $directories)
    {
        $this->directories = array();
        foreach ($directories as $directory) {
            $this->directories[] = clone $directory;
        }
    }
protected function setDirectories(array $directories)
    {
        $this->directories = array();
        foreach ($directories as $directory) {
            $this->directories[] = clone $directory;
        }
    }
protected function setDirectories ( array $ directories ) { $ this -> directories = array ( ) ; foreach ( $ directories as $ directory ) { $ this -> directories [ ] = clone $ directory ; } }
Sets Directories.

@param array $directories list of directories.

@return void
Sets Directories .