protected function getRealChildName(string $name): string
    {
        if ($this->appliesTo($name) === true) {
            return self::getChildName($name, $this->name);
        }

        return $name;
    }
protected function getRealChildName(string $name): string
    {
        if ($this->appliesTo($name) === true) {
            return self::getChildName($name, $this->name);
        }

        return $name;
    }
protected function getRealChildName ( string $ name ) : string { if ( $ this -> appliesTo ( $ name ) === true ) { return self :: getChildName ( $ name , $ this -> name ) ; } return $ name ; }
helper method to detect the real child name

@param   string  $name
@return  string
helper method to detect the real child name