public function get_component( $name )
    {
        if(!array_key_exists($name, $this->components))
        {
            throw new \RuntimeException("Composite sub-component not found with name $name");
        }
        return $this->components[$name];
    }
public function get_component( $name )
    {
        if(!array_key_exists($name, $this->components))
        {
            throw new \RuntimeException("Composite sub-component not found with name $name");
        }
        return $this->components[$name];
    }
public function get_component ( $ name ) { if ( ! array_key_exists ( $ name , $ this -> components ) ) { throw new \ RuntimeException ( "Composite sub-component not found with name $name" ) ; } return $ this -> components [ $ name ] ; }
Get a child component by name.

@param string $name
@return UI\AbstractComponent
@throws \RuntimeException If there's no child component corresponding to the given name
Get a child component by name .