public function findComponent (string $type, string $key)
    {
        $componentType = $this->typeRegistry->getType($type);

        return $componentType->getComponent($key);
    }
public function findComponent (string $type, string $key)
    {
        $componentType = $this->typeRegistry->getType($type);

        return $componentType->getComponent($key);
    }
public function findComponent ( string $ type , string $ key ) { $ componentType = $ this -> typeRegistry -> getType ( $ type ) ; return $ componentType -> getComponent ( $ key ) ; }
Finds a specific component view with a given type and key.

@param string $type
@param string $key

@return Component|null
Finds a specific component view with a given type and key .