Elgg\Notifications\SubscriptionsService::getMethodRelationships PHP Метод

getMethodRelationships() защищенный Метод

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