ChainableAdapter.php 380 Bytes
Newer Older
Bertrand Gauthier's avatar
Bertrand Gauthier committed
1
2
3
4
<?php

namespace ZfcUser\Authentication\Adapter;

Bertrand Gauthier's avatar
Bertrand Gauthier committed
5
6
use Laminas\Authentication\Storage\StorageInterface;
use Laminas\EventManager\EventInterface;
Bertrand Gauthier's avatar
Bertrand Gauthier committed
7
8
9
10
11
12
13
14
15
16
17
18
19
20

interface ChainableAdapter
{
    /**
     * @param EventInterface $e
     * @return bool
     */
    public function authenticate(EventInterface $e);

    /**
     * @return StorageInterface
     */
    public function getStorage();
}