gfazioli
11/4/2017 - 10:16 AM

Eloquent model PHPDocs for PHPStorm

 use Illuminate\Database\Eloquent\Builder;
 
 * @property mixed created_at
 * @property mixed updated_at
 *
 * @method static $this create( ...$args )
 * @method static $this find( $id ) : $this
 * @method static Builder where( ...$args )
 * @method static Builder whereIn( ...$args )
 * @method static $this paginate( ...$args )
 * @method static $this orderBy( ...$args )
 *
 * @method $this first
 * @method Builder get
 * @method save( array $options = [] )
 * @method delete
 * @method update( array $attributes = [], array $options = [] )