Skip to content

Latest commit

 

History

History
executable file
·
60 lines (45 loc) · 4.95 KB

File metadata and controls

executable file
·
60 lines (45 loc) · 4.95 KB

Table of contents


Class: Behavioral\ChainOfResponsibility\AbstractHandler

Visibility Function
public execute( string $request bool $allInChain ): void
If the condition matches, code is executed;
if not, then it is passed along the chain to the next handler
Если условие совпадает, код выполняется;
Если нет, то он передается по цепочке следующему обработчику
public setNext( Behavioral\ChainOfResponsibility\AbstractHandler $handler ): Behavioral\ChainOfResponsibility\AbstractHandler
Adds the next handler to the chain
Добавляет следующий обработчик в цепочку

Class: Behavioral\ChainOfResponsibility\ChainInterface

Visibility Function
abstract public execute( string $request ): void

Class: Behavioral\ChainOfResponsibility\ErrorHandler

Visibility Function
public execute( string $request bool $allInChain ): void
If the condition matches, code is executed;
if not, then it is passed along the chain to the next handler
Если условие совпадает, код выполняется;
Если нет, то он передается по цепочке следующему обработчику
public setNext( Behavioral\ChainOfResponsibility\AbstractHandler $handler ): Behavioral\ChainOfResponsibility\AbstractHandler
Adds the next handler to the chain
Добавляет следующий обработчик в цепочку

Class: Behavioral\ChainOfResponsibility\NoticeHandler

Visibility Function
public execute( string $request bool $allInChain ): void
If the condition matches, code is executed;
if not, then it is passed along the chain to the next handler
Если условие совпадает, код выполняется;
Если нет, то он передается по цепочке следующему обработчику
public setNext( Behavioral\ChainOfResponsibility\AbstractHandler $handler ): Behavioral\ChainOfResponsibility\AbstractHandler
Adds the next handler to the chain
Добавляет следующий обработчик в цепочку

Class: Behavioral\ChainOfResponsibility\WarningHandler

Visibility Function
public execute( string $request bool $allInChain ): void
If the condition matches, code is executed;
if not, then it is passed along the chain to the next handler
Если условие совпадает, код выполняется;
Если нет, то он передается по цепочке следующему обработчику
public setNext( Behavioral\ChainOfResponsibility\AbstractHandler $handler ): Behavioral\ChainOfResponsibility\AbstractHandler
Adds the next handler to the chain
Добавляет следующий обработчик в цепочку

created with Rudra-Documentation-Collector