1 | <?php |
||
23 | class IdentityFilesystemWriter implements IdentityWriterInterface |
||
24 | { |
||
25 | /** |
||
26 | * @var RemoteVettingConfiguration |
||
27 | */ |
||
28 | private $configuration; |
||
29 | |||
30 | public function __construct(RemoteVettingConfiguration $configuration) |
||
34 | |||
35 | /** |
||
36 | * Writes identity data to a data store. The data should be passed as a string. |
||
37 | * |
||
38 | * @param string $data |
||
39 | */ |
||
40 | public function write($data) |
||
45 | |||
46 | private function createFileName($location) |
||
51 | } |
||
52 |
Our type inference engine in quite powerful, but sometimes the code does not provide enough clues to go by. In these cases we request you to add a
@return
annotation as described here.