protected function validateComponent($component): ?string
    {
        $component = $this->filterComponent($component);
        if (null === $component) {
            return $component;
        }

        return $this->decodeComponent($component);
    }
protected function validateComponent($component): ?string
    {
        $component = $this->filterComponent($component);
        if (null === $component) {
            return $component;
        }

        return $this->decodeComponent($component);
    }
protected function validateComponent ( $ component ) : ? string { $ component = $ this -> filterComponent ( $ component ) ; if ( null === $ component ) { return $ component ; } return $ this -> decodeComponent ( $ component ) ; }
Validate the component content.
Validate the component content .