public function removeAttribute(string $attributeName) {
        if(isset($this->attributes[$attributeName]))
            unset($this->attributes[$attributeName]);
    }
public function removeAttribute(string $attributeName) {
        if(isset($this->attributes[$attributeName]))
            unset($this->attributes[$attributeName]);
    }
public function removeAttribute ( string $ attributeName ) { if ( isset ( $ this -> attributes [ $ attributeName ] ) ) unset ( $ this -> attributes [ $ attributeName ] ) ; }
Removes an attribute from collection

@param string $attributeName
Removes an attribute from collection