| 1 | <?php |
||
| 9 | abstract class AbstractMiddleware implements MiddlewareInterface, ContainerAwareInterface |
||
| 10 | { |
||
| 11 | use ContainerAwareTrait; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @var string Middleware attribute name |
||
| 15 | */ |
||
| 16 | protected $attribute; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * Set the middleware attribute name. |
||
| 20 | * |
||
| 21 | * @param string $attribute |
||
| 22 | * |
||
| 23 | * @return $this|self |
||
| 24 | */ |
||
| 25 | public function attribute(string $attribute): AbstractMiddleware |
||
| 31 | } |
||
| 32 |