public function clean()
    {
        // Empty Profile.
        $this->profile = null;
        // Empty credentials.
        $this->credentialsName = null;

        // Recreate a new container.
        $this->newUpContainer();
        // Clean headers.
        $this->cleanHeaders();
        // Clean Query
        $this->cleanQuery();

        // Return calling object.
        return $this;
    }
public function clean()
    {
        // Empty Profile.
        $this->profile = null;
        // Empty credentials.
        $this->credentialsName = null;

        // Recreate a new container.
        $this->newUpContainer();
        // Clean headers.
        $this->cleanHeaders();
        // Clean Query
        $this->cleanQuery();

        // Return calling object.
        return $this;
    }
public function clean ( ) { // Empty Profile. $ this -> profile = null ; // Empty credentials. $ this -> credentialsName = null ; // Recreate a new container. $ this -> newUpContainer ( ) ; // Clean headers. $ this -> cleanHeaders ( ) ; // Clean Query $ this -> cleanQuery ( ) ; // Return calling object. return $ this ; }
Cleans the object by erasing all profile and content info.

@return $this
Cleans the object by erasing all profile and content info .