public function clearAll($clearContext = false)
    {
        foreach ($this->getProfiles() as $child) {
            $child->clearAll($clearContext);
        }

        $this->clear($clearContext);

        return $this;
    }
public function clearAll($clearContext = false)
    {
        foreach ($this->getProfiles() as $child) {
            $child->clearAll($clearContext);
        }

        $this->clear($clearContext);

        return $this;
    }
public function clearAll ( $ clearContext = false ) { foreach ( $ this -> getProfiles ( ) as $ child ) { $ child -> clearAll ( $ clearContext ) ; } $ this -> clear ( $ clearContext ) ; return $ this ; }
Clear this and all child profiles.

@param bool $clearContext [optional] Clear context as well?

@return $this
Clear this and all child profiles .