\Pivot\Core\MiddlewareServiceAwareMiddleware

base class for service aware Middleware

Summary

Methods
Properties
Constants
__construct()
No public properties found
No constants found
getServiceLocator()
No protected properties found
N/A
No private methods found
$serviceLocator
N/A

Properties

$serviceLocator

$serviceLocator : \Pivot\Core\Middleware\Pivot\Core\Services\ServliceLocator

Service locator

Type

\Pivot\Core\Middleware\Pivot\Core\Services\ServliceLocator

Methods

__construct()

__construct(object  $serviceLocator) 

inject the service locator

Parameters

object $serviceLocator

getServiceLocator()

getServiceLocator() : \Pivot\Core\Middleware\ServiceLocator

gets the service locator

Returns

\Pivot\Core\Middleware\ServiceLocator