/**
* Returns the booted component
*
* @return ComponentInterface
*
* @since 4.0.0
*/
protected function getComponent()
{
if (\is_null($this->component)) {
$parts = explode('.', $this->extension);
$this->component = $this->app->bootComponent($parts[0]);
}
return $this->component;
}