Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve documentation on the Environment and Tenancy facade #17

Open
bkintanar opened this issue Jun 21, 2018 · 1 comment
Open

Improve documentation on the Environment and Tenancy facade #17

bkintanar opened this issue Jun 21, 2018 · 1 comment

Comments

@bkintanar
Copy link
Member

Moved from tenancy/multi-tenant#273

$tenancy = app(Hyn\Tenancy\Environment::class);

// get website
$tenancy->website();
// get hostname
$tenancy->hostname();
// get customer (if any)
$tenancy->customer();
// set hostname
$hostname = Hostname::firstOrFail();
$tenancy->hostname($hostname);
@luceos luceos changed the title Document how the Environment works as easy proxy Improve documentation on the Environment and Tenancy facade Jun 21, 2018
@luceos
Copy link
Contributor

luceos commented Jul 19, 2018

Include the facade.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants