protected static function validateResourceType($resourceType)
    {
        Validate::isTrue(
            $resourceType == Resources::RESOURCE_TYPE_SHARE ||
            $resourceType == Resources::RESOURCE_TYPE_FILE,
            Resources::INVALID_RESOURCE_TYPE
        );
    }
protected static function validateResourceType($resourceType)
    {
        Validate::isTrue(
            $resourceType == Resources::RESOURCE_TYPE_SHARE ||
            $resourceType == Resources::RESOURCE_TYPE_FILE,
            Resources::INVALID_RESOURCE_TYPE
        );
    }
protected static function validateResourceType ( $ resourceType ) { Validate :: isTrue ( $ resourceType == Resources :: RESOURCE_TYPE_SHARE || $ resourceType == Resources :: RESOURCE_TYPE_FILE , Resources :: INVALID_RESOURCE_TYPE ) ; }
Validate if the resource type is for the class.

@param  string $resourceType the resource type to be validated.

@throws \InvalidArgumentException

@internal

@return void
Validate if the resource type is for the class .