class SocialNetworkSettingsRepository extends EntityRepository

Class SocialNetworkSettingsRepository is injected as alligator.social_network_settings_repository service. SocialNetworkSettingsRepository is used for crud operation for managed entity.

Use this class to work with database.

Constants

ALIAS

Social network alias

Methods

getSocialNetworks()

Get social networks from database

createDefaultSettings()

Create default settings for social entworks

mixed
saveSocialNetworks(SocialNetworkSettings $socialNetwork)

Persist social networks in database

Details

at line 37
SocialNetworkSettings getSocialNetworks()

Get social networks from database

Return Value

SocialNetworkSettings

Exceptions

NonUniqueResultException

at line 62
SocialNetworkSettings createDefaultSettings()

Create default settings for social entworks

Return Value

SocialNetworkSettings

at line 85
mixed saveSocialNetworks(SocialNetworkSettings $socialNetwork)

Persist social networks in database

Parameters

SocialNetworkSettings $socialNetwork

Return Value

mixed