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.
23 lines
354 B
23 lines
354 B
3 years ago
|
<?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;
|
||
|
}
|
||
|
}
|