Newscoop\Service\Resource\ResourceId::getType PHP Method

getType() public method

Provides the type of the resource, please check the contstants on this class to see what are the posible types.
public getType ( ) : string
return string The type of the resource.
    public function getType()
    {
        return $this->type;
    }