SlaxWeb Framework
 All Classes Namespaces Functions Variables Pages
Public Member Functions | Protected Attributes | List of all members
SlaxWeb\Hooks\Service\Definition Class Reference
Inheritance diagram for SlaxWeb\Hooks\Service\Definition:
Inheritance graph
[legend]
Collaboration diagram for SlaxWeb\Hooks\Service\Definition:
Collaboration graph
[legend]

Public Member Functions

 register (\Pimple\Container $container)
 
 define ()
 

Protected Attributes

 $hooks = []
 

Member Function Documentation

SlaxWeb\Hooks\Service\Definition::define ( )
abstract

Define Hooks

Define the Hooks by adding their definitions(user code) to the Hooks Container.

Returns
void
SlaxWeb\Hooks\Service\Definition::register ( \Pimple\Container  $container)

Register Provider

Method called by the Pimple DIC when registering. Set container to class property and call the define method.

Parameters
\Pimple\Container$containerDIC
Returns
void

The documentation for this class was generated from the following file: