mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 22:54:03 +00:00
Cleanup commands
This commit is contained in:
parent
8d382024a3
commit
33fcb8a936
6 changed files with 60 additions and 37 deletions
13
src/Traits/HasATenantsOption.php
Normal file
13
src/Traits/HasATenantsOption.php
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?php
|
||||
|
||||
namespace Stancl\Tenancy\Traits;
|
||||
|
||||
trait HasATenantsOption
|
||||
{
|
||||
protected function getOptions()
|
||||
{
|
||||
return array_merge([
|
||||
['tenants', null, InputOption::VALUE_IS_ARRAY | InputOption::VALUE_OPTIONAL, '', null]
|
||||
], parent::getOptions());
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue