Bouncy Melons 0.2
declarative style orm
AutoSingle.php
Go to the documentation of this file.
1 <?php
2 
3 namespace bm;
4 
5 class AutoSingle extends Single implements ISingle {
6 
7  protected $list;
8 
9  public function declareFields() {
10  return $this->list->declareFields();
11  }
12 
13 
14  public function __construct(AutoList $list) {
15  $this->list = $list;
16  }
17 
18  public function getBm() {
19  return $this->list->getBm();
20  }
21 
22  public function getTableName() {
23  return $this->list->getTableName();
24  }
25 
26  public function getSlug() {
27  return $this->list->getSlug();
28  }
29 }
__construct(AutoList $list)
Definition: AutoSingle.php:14