public function rename($file, $override = false)
	{
		return $this->move($this->getDirectory() . static::DIRECTORY_SEPARATOR . basename($file), $override);
	}
public function rename($file, $override = false)
	{
		return $this->move($this->getDirectory() . static::DIRECTORY_SEPARATOR . basename($file), $override);
	}
public function rename ( $ file , $ override = false ) { return $ this -> move ( $ this -> getDirectory ( ) . static :: DIRECTORY_SEPARATOR . basename ( $ file ) , $ override ) ; }
Returns true if the file is succesfully renamed.

@param string $file
@param bool $override = false
@return bool true if the file is succesfully renamed.
Returns true if the file is succesfully renamed .