public function getComponents () : array
    {
        if (null === $this->components)
        {
            $this->components = $this->loader->loadComponents($this);
        }

        return $this->components;
    }
public function getComponents () : array
    {
        if (null === $this->components)
        {
            $this->components = $this->loader->loadComponents($this);
        }

        return $this->components;
    }
public function getComponents ( ) : array { if ( null === $ this -> components ) { $ this -> components = $ this -> loader -> loadComponents ( $ this ) ; } return $ this -> components ; }
Returns all components in this type

@return Component[]
Returns all components in this type