private static function getBaseConfigDir() { if (self::$baseConfigDir === null) { self::$baseConfigDir = APIJet::getRootDir() . 'Config' . DIRECTORY_SEPARATOR; } return self::$baseConfigDir; }
public static function isАuthorized() { $authorizationCallback = APIJet::getAPIJetConfig(APIJet::AUTHORIZATION_CALLBACK); if ($authorizationCallback === null) { return true; } return (bool) $authorizationCallback(); }
public function getDb() { return $this->app->getSingletonContainer('Db'); }