ulmus/src/Annotation/Classes/Table.php

28 lines
477 B
PHP
Raw Normal View History

2019-08-21 20:13:00 +00:00
<?php
namespace Ulmus\Annotation\Classes;
class Table implements \Ulmus\Annotation\Annotation {
public string $name;
2020-10-16 15:27:54 +00:00
public string $database;
public string $schema;
public string $adapter;
2020-10-16 15:27:54 +00:00
public string $engine;
2020-10-16 15:27:54 +00:00
public function __construct($name = null, $engine = null)
2019-08-21 20:13:00 +00:00
{
if ( $name !== null ) {
$this->name = $name;
}
2020-10-16 15:27:54 +00:00
if ( $engine !== null ) {
$this->engine = $engine;
}
2019-08-21 20:13:00 +00:00
}
}