public function removeAll()
    {
        foreach ($this->getProfiles() as $profile => $child) {
            $this->remove($profile);
        }

        return $this;
    }
public function removeAll()
    {
        foreach ($this->getProfiles() as $profile => $child) {
            $this->remove($profile);
        }

        return $this;
    }
public function removeAll ( ) { foreach ( $ this -> getProfiles ( ) as $ profile => $ child ) { $ this -> remove ( $ profile ) ; } return $ this ; }
Removes all child profiles from this profile.

@return $this
Removes all child profiles from this profile .