Skip to content
Snippets Groups Projects
Commit 8f1cb24a authored by Tibo's avatar Tibo
Browse files

IDE helper model

parent 914ed211
No related branches found
No related tags found
No related merge requests found
This diff is collapsed.
<?php
// @formatter:off
/**
* A helper file for your Eloquent Models
* Copy the phpDocs from this file to the correct Model,
* And remove them from this file, to prevent double declarations.
*
* @author Barry vd. Heuvel <barryvdh@gmail.com>
*/
namespace App{
/**
* App\Organization
*
* @property int $id
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property string $name
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Server[] $servers
* @property-read \Illuminate\Database\Eloquent\Collection|\App\User[] $users
* @method static \Illuminate\Database\Eloquent\Builder|\App\Organization newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Organization newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Organization query()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Organization whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Organization whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Organization whereName($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Organization whereUpdatedAt($value)
*/
class Organization extends \Eloquent {}
}
namespace App{
/**
* App\User
*
* @property int $id
* @property string $name
* @property string $email
* @property string $password
* @property string|null $remember_token
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property-read \Illuminate\Notifications\DatabaseNotificationCollection|\Illuminate\Notifications\DatabaseNotification[] $notifications
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Organization[] $organizations
* @method static \Illuminate\Database\Eloquent\Builder|\App\User newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\User newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\User query()
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereEmail($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereName($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User wherePassword($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereRememberToken($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereUpdatedAt($value)
*/
class User extends \Eloquent {}
}
namespace App{
/**
* App\Server
*
* @property int $id
* @property int $organization_id
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property string $name
* @property string $token
* @property string $read_token
* @property-read \App\Organization $organization
* @method static \Illuminate\Database\Eloquent\Builder|\App\Server newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Server newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Server query()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Server whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Server whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Server whereName($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Server whereOrganizationId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Server whereReadToken($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Server whereToken($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Server whereUpdatedAt($value)
*/
class Server extends \Eloquent {}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment