1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 22:54:03 +00:00

Cleanup commands

This commit is contained in:
Samuel Štancl 2019-02-09 00:40:52 +01:00
parent 8d382024a3
commit 33fcb8a936
6 changed files with 60 additions and 37 deletions

View 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());
}
}