mirror of
https://github.com/friendica/friendica
synced 2024-11-11 13:42:54 +00:00
22 lines
354 B
PHP
22 lines
354 B
PHP
<?php
|
|
|
|
namespace Friendica;
|
|
|
|
use Psr\Log\LoggerInterface;
|
|
|
|
/**
|
|
* Factories act as an intermediary to avoid direct Entitiy instanciation.
|
|
*
|
|
* @see BaseModel
|
|
* @see BaseCollection
|
|
*/
|
|
abstract class BaseFactory
|
|
{
|
|
/** @var LoggerInterface */
|
|
protected $logger;
|
|
|
|
public function __construct(LoggerInterface $logger)
|
|
{
|
|
$this->logger = $logger;
|
|
}
|
|
}
|