Exemplo n.º 1
0
 /**
  * Returns a new path which is the same as this path but with the file extension removed.
  * 
  * @return Path
  */
 public function removeExtension()
 {
     return new Path($this->pathname->replace('.' . $this->getExtension(), ''));
 }