public function remove(string $profile)
    {
        $child = $this->get($profile);
        $child->clearAll();
        $child->removeAll();

        unset($this->children[$profile]);

        return $this;
    }
public function remove(string $profile)
    {
        $child = $this->get($profile);
        $child->clearAll();
        $child->removeAll();

        unset($this->children[$profile]);

        return $this;
    }
public function remove ( string $ profile ) { $ child = $ this -> get ( $ profile ) ; $ child -> clearAll ( ) ; $ child -> removeAll ( ) ; unset ( $ this -> children [ $ profile ] ) ; return $ this ; }
Removes specified child profile from this profile.

@param string $profile

@return $this
Removes specified child profile from this profile .