| 1 | <?php |
||
| 14 | class Schema extends Object |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * The current LDAP attribute schema. |
||
| 18 | * |
||
| 19 | * @var SchemaInterface |
||
| 20 | */ |
||
| 21 | protected $current; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Returns the current LDAP attribute schema. |
||
| 25 | * |
||
| 26 | * @return SchemaInterface |
||
| 27 | */ |
||
| 28 | public function get() |
||
| 36 | |||
| 37 | /** |
||
| 38 | * Sets the current LDAP attribute schema. |
||
| 39 | * |
||
| 40 | * @param SchemaInterface $schema |
||
| 41 | */ |
||
| 42 | public function set(SchemaInterface $schema) |
||
| 46 | |||
| 47 | /** |
||
| 48 | * Returns a new instance of the default schema. |
||
| 49 | * |
||
| 50 | * @return SchemaInterface |
||
| 51 | */ |
||
| 52 | public static function getDefault() |
||
| 56 | } |
||
| 57 |