mirror of
https://github.com/friendica/friendica
synced 2024-11-15 06:13:54 +00:00
27 lines
512 B
PHP
27 lines
512 B
PHP
<?php
|
|
|
|
// Copyright (C) 2010-2024, the Friendica project
|
|
// SPDX-FileCopyrightText: 2010-2024 the Friendica project
|
|
//
|
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
namespace Friendica;
|
|
|
|
use Psr\Log\LoggerInterface;
|
|
|
|
/**
|
|
* Factories act as an intermediary to avoid direct Entity instantiation.
|
|
*
|
|
* @see BaseModel
|
|
* @see BaseCollection
|
|
*/
|
|
abstract class BaseFactory
|
|
{
|
|
/** @var LoggerInterface */
|
|
protected $logger;
|
|
|
|
public function __construct(LoggerInterface $logger)
|
|
{
|
|
$this->logger = $logger;
|
|
}
|
|
}
|