Friendica Communications Platform (please note that this is a clone of the repository at github, issues are handled there) https://friendi.ca
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
354 B

  1. <?php
  2. namespace Friendica;
  3. use Psr\Log\LoggerInterface;
  4. /**
  5. * Factories act as an intermediary to avoid direct Entitiy instanciation.
  6. *
  7. * @see BaseModel
  8. * @see BaseCollection
  9. */
  10. abstract class BaseFactory
  11. {
  12. /** @var LoggerInterface */
  13. protected $logger;
  14. public function __construct(LoggerInterface $logger)
  15. {
  16. $this->logger = $logger;
  17. }
  18. }