1: <?php
2:
3: namespace PHPixie;
4:
5: class AuthLogin
6: {
7: protected $builder;
8:
9: public function __construct($security)
10: {
11: $this->builder = $this->buildBuilder($security);
12: }
13:
14: public function providers()
15: {
16: return $this->builder->providers();
17: }
18:
19: public function builder()
20: {
21: return $this->builder;
22: }
23:
24: protected function buildBuilder($security)
25: {
26: return new AuthLogin\Builder($security);
27: }
28: }