/
var
/
www
/
vhosts
/
ihelp.ro
/
_OLD
/
vendor
/
robmorgan
/
phinx
/
src
/
Phinx
/
Db
/
Table
/
/var/www/vhosts/ihelp.ro/_OLD/vendor/robmorgan/phinx/src/Phinx/Db/Table
mkdir
upload
Name
Size
Mode
Actions
Column.php
16296
0644
edit
dl
rm
ForeignKey.php
5131
0644
edit
dl
rm
Index.php
3122
0644
edit
dl
rm
Table.php
1517
0644
edit
dl
rm
Edit:
/var/www/vhosts/ihelp.ro/_OLD/vendor/robmorgan/phinx/src/Phinx/Db/Table/Table.php
(1517B)
<?php /** * MIT License * For full license information, please view the LICENSE file that was distributed with this source code. */ namespace Phinx\Db\Table; use InvalidArgumentException; class Table { /** * @var string */ protected $name; /** * @var array */ protected $options; /** * @param string $name The table name * @param array $options The creation options for this table * * @throws \InvalidArgumentException */ public function __construct($name, array $options = []) { if (empty($name)) { throw new InvalidArgumentException('Cannot use an empty table name'); } $this->name = $name; $this->options = $options; } /** * Sets the table name. * * @param string $name The name of the table * * @return $this */ public function setName($name) { $this->name = $name; return $this; } /** * Gets the table name. * * @return string */ public function getName() { return $this->name; } /** * Gets the table options * * @return array */ public function getOptions() { return $this->options; } /** * Sets the table options * * @param array $options The options for the table creation * * @return void */ public function setOptions(array $options) { $this->options = $options; } }
Save
cmd:
run