friendica/src/Factory
Hypolite Petovan 70119dd5e0 Throw Not Found exception when $uid doesn't exist in Factory\Api\Twitter\User->createFromUserId
- Contact::getPublicIdByUserId() wrongly returns 0 when $uid doesn't exist, which is an existing albeit incomplete account record that trips the avatar URL generation down the line.
2024-02-25 20:08:04 -05:00
..
Api Throw Not Found exception when $uid doesn't exist in Factory\Api\Twitter\User->createFromUserId 2024-02-25 20:08:04 -05:00
README.md Adding REAMDEs to directories 2019-03-22 22:56:57 -04:00

Friendica\Factory

This namespace contains Factories. A Factory is used to create specific objects based on its configuration.

See Factory Method

Use the classes inside this directory if you want to change the way how new objects should get created. Don't use the classes to change the behaviour of the concrete objects.