| 1 | <?php  | 
            ||
| 21 | abstract class AbstractMiddleware implements MiddlewareInterface  | 
            ||
| 22 | { | 
            ||
| 23 | use StateMiddlewareDependencyTrait;  | 
            ||
| 24 | |||
| 25 | /**  | 
            ||
| 26 | * @param array $options  | 
            ||
| 27 | */  | 
            ||
| 28 | public function __construct(array $options = [])  | 
            ||
| 32 | |||
| 33 | /**  | 
            ||
| 34 | * @todo  | 
            ||
| 35 | */  | 
            ||
| 36 | final protected function initialize()  | 
            ||
| 40 | |||
| 41 | /**  | 
            ||
| 42 | * @return FormObject  | 
            ||
| 43 | */  | 
            ||
| 44 | protected function getFormObject()  | 
            ||
| 48 | |||
| 49 | /**  | 
            ||
| 50 | * @return Request  | 
            ||
| 51 | */  | 
            ||
| 52 | protected function getRequest()  | 
            ||
| 56 | |||
| 57 | /**  | 
            ||
| 58 | * @return int  | 
            ||
| 59 | */  | 
            ||
| 60 | public function getPriority()  | 
            ||
| 64 | }  | 
            ||
| 65 | |||
| 66 |