### Classes, interfaces and traits

# NPS¶

NPS bundle declaration

« More »

### Classes, interfaces and traits

# TMessage¶

Trait for any object to be able to post string messages to other objects

« More »

# IMessage¶

Interface for any object to be able to post string messages to other objects

« More »

# Files¶

File system related functions

« More »

# Strings¶

Auxiliary string processing functions

« More »

### Classes, interfaces and traits

# AbstractController¶

Base controller for every application instance

« More »

# ConsultationController¶

Consultation related actions controller

« More »

# DefaultController¶

Base controller for every application instance

« More »

# KnowledgeController¶

Controller for knowledge base operations

« More »

# UserController¶

Controller for user account related stuff

« More »

# UserQueryController¶

Controller for user query related functions

« More »

### Classes, interfaces and traits

# IObjectRepository¶

Serves as model object repository

« More »

# ConsultationRepository¶

Consultation repository class

« More »

# FileRepository¶

« More »

# KnowledgeBaseRepository¶

Knowledge base repository

« More »

# TokenRepository¶

Reset token repository class

« More »

# UserQueryRepository¶

User query repository class

« More »

# UserRepository¶

User repository class

« More »

### Classes, interfaces and traits

# IDomainObject¶

« More »

# AbstractToken¶

Represents a token model object

« More »

# AbstractUserQuery¶

Represents a user query model object

« More »

# Consultation¶

Consultation process handling

« More »

# ErrorReportingQuery¶

Represents an error reporting query model object

« More »

# File¶

« More »

# KnowledgeBase¶

Knowledge base model object

« More »

# PasswordResetToken¶

Represents a user password reset token model object

« More »

# TraversableXMLElement¶

Class providing XML functions with traversable interface Designed with immutability in mind A node can be either child or text, not both

« More »

# User¶

Represents a user model object

« More »

# UserActivationToken¶

Represents a user account activation token model object

« More »

# UserQuestionQuery¶

Represents a user question query model object

« More »

### Classes, interfaces and traits

# ExistingUserException¶

Exception for existing user

« More »

# ExpertSystemCommunicationException¶

No consultation state stored in the expert system bridge

« More »

# InvalidArgumentException¶

Invalid argument user exception

« More »

# InvalidXMLException¶

Invalid XML string exception

« More »

# MissingArgumentException¶

Missing argument exception

« More »

# NoConsultationException¶

No consultation state stored in the expert system bridge

« More »

# NonExistingPropertyException¶

Exception for TCreate trait

« More »

# ParserNotCalledException¶

Exception for NPS parser not being called before content request

« More »

# TokenExpiredException¶

Token expired exception

« More »

# UnsupportedFileException¶

Unsupported file exception

« More »

# UserInputException¶

User input exception - should result in code 400 instead of 500

« More »

# WeakPasswordException¶

Exception for weak password

« More »

### Classes, interfaces and traits

# TCreate¶

Adds ability for an entity to be constructed out of an array of properties

« More »

# TIdProperty¶

Adds ID property to any entity

« More »

# TNameProperty¶

Adds name property to any entity

« More »

# IEntity¶

Common doctrine entity interface

« More »

# AbstractTokenEntity¶

Abstract token entity

« More »

# AbstractUserQueryEntity¶

Abstract user query entity

« More »

# AccessGrantEntity¶

Access grant token entity Decides whether a particular user has access to a knowledge base identified by its bind id

« More »

# ConsultationAnswerEntity¶

Consultation answer entity

« More »

# ConsultationEntity¶

Consultation entity

« More »

# ErrorReportingQueryEntity¶

Error reporting query entity

« More »

# FileEntity¶

File entity

« More »

# KnowledgeBaseEntity¶

Knowledge base entity

« More »

# PasswordResetTokenEntity¶

User password reset token entity

« More »

# UserActivationTokenEntity¶

User account activation token entity

« More »

# UserEntity¶

« More »

# UserQuestionQueryEntity¶

User question query entity

« More »

### Classes, interfaces and traits

# IExpertSystemBridge¶

Default interface to plug-in any expert system

« More »

# IKnowledgeBaseInfoProvider¶

Is able to extract knowledge base name out of a knowledge base

« More »

# IXMLContentParser¶

Interface for a traversable XML parser

« More »

# Mailer¶

Lazy sending mailer with template rendering and dev output

« More »

# NPSBridge¶

Handles communication with an external NPS process

« More »

# NPSParser¶

Content parser for NPS

« More »

# UserKnowledgeAccessGuard¶

Restricts access of a user to specific knowledge bases

« More »

### Classes, interfaces and traits

# AccessDeniedHandler¶

Access denied handler

« More »

# UserProvider¶

Model user provider

« More »

### Classes, interfaces and traits

# TMemorizedFactory¶

Factory which temporarily stores created objects

« More »

# IObjectFactory¶

Can be used to create object out of its doctrine entity

« More »

# ConsultationFactory¶

Consultation object factory

« More »

# FileFactory¶

File factory and file uploader in one place

« More »

# KnowledgeBaseFactory¶

Knowledge base object factory

« More »

# TokenFactory¶

Token object factory

« More »

# UserFactory¶

User object factory

« More »

# UserQueryFactory¶

User query factory

« More »

### Classes, interfaces and traits

# AddBaseCommand¶

Adds or updates a knowledge base from a file

« More »

# AddUserCommand¶

Manually adds a user

« More »

# ConvertBaseCommand¶

Converts an old NPS knowledge base into a new one

« More »

# DisableBaseCommand¶

Disables a knowledge base

« More »

# InvalidateDBBaseCommand¶

Invalidates and loads DB cache of all knowledge bases

« More »

# ResetPasswordCommand¶

Resets user's password

« More »

# SynchronizeBasesDirectoryCommand¶

Synchronizes known bases with a state of a directory

Tree format / synced_directory / synced_directory / one_base_subdirectory / synced_directory / one_base_subdirectory / base.nps|n32 will be synced / synced_directory / one_base_subdirectory / a.jpg will be synced to belong to base.nps|n32

« More »

# SynchronizeBasesGitCommand¶

Synchronizes known bases with a state of a remote git repository

« More »

# UploadFileCommand¶

Uploads a (media) file

« More »

### Classes, interfaces and traits

# TStopwatch¶

Augments tests with a stopwatch functionality

« More »

# CommandTestCase¶

Command test case

« More »

# ControllerTestCase¶

Controller test case

« More »

# KernelTestCase¶

Kernel test case with a modified interfae

« More »

# RepositoryTestCase¶

Repository test case allowing entity creation

« More »

### Classes, interfaces and traits

# AuthenticationSubscriber¶

Subscriber to JWT authentication

« More »

# ExceptionSubscriber¶

Global exception listener Should transcribe all errors into json format

« More »

# LanguageSubscriber¶

Language subscriber sets language of expert

« More »

### Classes, interfaces and traits

# LanguageChangedEvent¶

Event for language change

« More »

### Classes, interfaces and traits

# AppFixtures¶

Application data fixtures definition

« More »

### Classes, interfaces and traits

# TraversableXMLElementTest¶

Tests traversable XML element

« More »

### Classes, interfaces and traits

# MailerTest¶

Tests mailer

« More »

# NPSBridgeTest¶

Tests NPSBridge and NPSCore integration

« More »

# NPSParserTest¶

Tests NPSParser

« More »

# UserKnowledgeAccessGuardTest¶

Tests UserKnowledgeAccessGuard

« More »

### Classes, interfaces and traits

# ConsultationControllerTest¶

Tests consultation controller

« More »

# DefaultControllerTest¶

Tests default controller

« More »

# KnowledgeControllerTest¶

Tests knowledge controller

« More »

# UserControllerTest¶

Tests user controller

« More »

# UserQueryControllerTest¶

Tests user query controller

« More »

### Classes, interfaces and traits

# AddBaseCommandTest¶

Tests add base command

« More »

# AddUserCommandTest¶

Tests add user command

« More »

# ConvertBaseCommandTest¶

Tests convert base command

« More »

# DisableBaseCommandTest¶

Tests disable base command

« More »

# InvalidateDBBaseCommandTest¶

Tests invalidate db base command

« More »

# ResetPasswordCommandTest¶

Tests reset password command

« More »

# SynchronizeBasesDirectoryCommandTest¶

Tests synchronize bases directory command

« More »

# SynchronizeBasesGitCommandTest¶

Tests synchronize bases git command

« More »

# UploadFileCommandTest¶

Tests upload file command

« More »

### Classes, interfaces and traits

# AbstractTokenTest¶

Tests abstract token

« More »

# AbstractUserQueryTest¶

Tests abstract user query

« More »

# ConsultationTest¶

Tests consultation

« More »

# ErrorReportingQueryTest¶

Tests error reporting query

« More »

# UserQuestionQueryEntityTest¶

Tests user question query

« More »

# UserTest¶

Tests user

« More »

### Classes, interfaces and traits

# FilesTest¶

Tests Files utility

« More »

# StringsTest¶

Tests strings utility

« More »

# TMessageTest¶

Tests TMessage utility

« More »

### Classes, interfaces and traits

# AccessDeniedHandlerTest¶

Tests access denied handler

« More »

### Classes, interfaces and traits

# CacheItemMock¶

Cache item mock for cache related functions testing

« More »