Elgg\Notifications\SubscriptionsService::getMethodRelationships PHP Method

getMethodRelationships() protected method

Get the relationship names for notifications
protected getMethodRelationships ( ) : array
return array
    protected function getMethodRelationships()
    {
        $prefix = self::RELATIONSHIP_PREFIX;
        $names = array();
        foreach ($this->methods as $method) {
            $names[] = "{$prefix}{$method}";
        }
        return $names;
    }