function core(string $abstract = null, array $parameters = []) { if (is_null($abstract)) { return Core::getInstance(); } return Core::getInstance()->make($abstract, $parameters); }
<?php namespace PHPSTORM_META; $STATIC_METHOD_TYPES = [\Spires\Container\Container::make('') => ['' == '@'], new \Spires\Container\Container() => ['' == '@'], \Spires\Contracts\Container\Container::make('') => ['' == '@'], new \Spires\Contracts\Container\Container() => ['' == '@'], \Spires\Core\Core::make('') => ['' == '@'], new \Spires\Core\Core() => ['' == '@'], \Spires\Contracts\Core\Core::make('') => ['' == '@'], new \Spires\Contracts\Core\Core() => ['' == '@'], \core('') => ['' == '@']];
private function debug(string $message) { $indention = str_repeat(' ', $this->indent * 2); $this->core->make(Client::class)->logDebug($indention . $message); }