X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FCore%2FProcess.php;h=fd6b17fe140dcb0e6184d195dc4707d836c3e4d6;hb=0d1fa70e2ecb372d158871285e0cda5f6d77194a;hp=a7f8de2866dab66328b1d7a59fb5cd9dfb58a6eb;hpb=03038e7a3bb74bdab497d26b7f829a5c3036d1c2;p=friendica.git diff --git a/src/Core/Process.php b/src/Core/Process.php index a7f8de2866..fd6b17fe14 100644 --- a/src/Core/Process.php +++ b/src/Core/Process.php @@ -1,9 +1,28 @@ . + * + */ namespace Friendica\Core; use Friendica\App; -use Friendica\Core\Config\IConfiguration; +use Friendica\Core\Config\IConfig; use Psr\Log\LoggerInterface; /** @@ -15,7 +34,7 @@ use Psr\Log\LoggerInterface; * - Using an process-id per node * - Using memory locks for multi-node locking (redis, memcached, ..) */ -final class Process +class Process { /** * @var LoggerInterface @@ -28,7 +47,7 @@ final class Process private $mode; /** - * @var IConfiguration + * @var IConfig */ private $config; @@ -37,7 +56,7 @@ final class Process */ private $basePath; - public function __construct(LoggerInterface $logger, App\Mode $mode, IConfiguration $config, string $basepath) + public function __construct(LoggerInterface $logger, App\Mode $mode, IConfig $config, string $basepath) { $this->logger = $logger; $this->mode = $mode; @@ -46,7 +65,7 @@ final class Process } /** - * @brief Checks if the maximum number of database processes is reached + * Checks if the maximum number of database processes is reached * * @return bool Is the limit reached? */ @@ -86,7 +105,7 @@ final class Process } /** - * @brief Checks if the minimal memory is reached + * Checks if the minimal memory is reached * * @return bool Is the memory limit reached? */ @@ -130,7 +149,7 @@ final class Process } /** - * @brief Checks if the maximum load is reached + * Checks if the maximum load is reached * * @return bool Is the load reached? */