src/ImboClient/Http/ImageUrl.php
public function reset() {
        if ($this->transformations) {
            // Remove image transformations
            $this->transformations = array();
            $this->query->remove('t');
        }

        if ($this->extension) {
            // Remove the extension
            $this->path = str_replace('.' . $this->extension, '', $this->path);
            $this->extension = null;
        }

        return $this;
    }
public function reset() {
        if ($this->transformations) {
            // Remove image transformations
            $this->transformations = array();
            $this->query->remove('t');
        }

        if ($this->extension) {
            // Remove the extension
            $this->path = str_replace('.' . $this->extension, '', $this->path);
            $this->extension = null;
        }

        return $this;
    }
public function reset ( ) { if ( $ this -> transformations ) { // Remove image transformations $ this -> transformations = array ( ) ; $ this -> query -> remove ( 't' ) ; } if ( $ this -> extension ) { // Remove the extension $ this -> path = str_replace ( '.' . $ this -> extension , '' , $ this -> path ) ; $ this -> extension = null ; } return $ this ; }
Reset the URL

Effectively removes added transformations and an optional extension.

@return self
Reset the URL