This repository has been archived by the owner on Feb 16, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* release/v0.0.1: (26 commits) Commit first tagged release Rename package rinvex/bookings from rinvex/bookable Fix wrong table name (close #6) Update composer dependencies Update composer dependencies Disable travis email notifications Update composer dependencies Override ValidatingTrait & HasTranslations Trait Fix wrong booking availability database table name Program to an interface not implementation for flexible model swapping Update models docblock Tweak service provider and enforce consistency Apply fixes from StyleCI Bind model alias into IoC container Apply fixes from StyleCI Use IoC bound model instead of the explicitly hardcoded Add configurable model names Add migration command and simplify installation steps Add composer minimum stability option Enforce consistant morph table schema ...
- Loading branch information
Showing
22 changed files
with
497 additions
and
155 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
# Rinvex Bookable Change Log | ||
# Rinvex Bookings Change Log | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
||
This project adheres to [Semantic Versioning](CONTRIBUTING.md). | ||
|
||
|
||
## v0.0.1 - 2017-07-07 | ||
- Commit first draft | ||
## v0.0.1 - 2017-09-08 | ||
- Commit first tagged release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Rinvex\Bookings\Console\Commands; | ||
|
||
use Illuminate\Console\Command; | ||
|
||
class MigrateCommand extends Command | ||
{ | ||
/** | ||
* The name and signature of the console command. | ||
* | ||
* @var string | ||
*/ | ||
protected $signature = 'rinvex:migrate:bookings'; | ||
|
||
/** | ||
* The console command description. | ||
* | ||
* @var string | ||
*/ | ||
protected $description = 'Migrate Rinvex Bookings Tables.'; | ||
|
||
/** | ||
* Execute the console command. | ||
* | ||
* @return void | ||
*/ | ||
public function handle() | ||
{ | ||
$this->warn('Migrate rinvex/bookings:'); | ||
$this->call('migrate', ['--step' => true, '--path' => 'vendor/rinvex/bookings/database/migrations']); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Rinvex\Bookings\Contracts; | ||
|
||
/** | ||
* Rinvex\Bookings\Contracts\BookingAvailabilityContract. | ||
* | ||
* @property int $id | ||
* @property int $bookable_id | ||
* @property string $bookable_type | ||
* @property string $day | ||
* @property \Carbon\Carbon $starts_at | ||
* @property \Carbon\Carbon $ends_at | ||
* @property float $price | ||
* @property \Carbon\Carbon $created_at | ||
* @property \Carbon\Carbon $updated_at | ||
* @property-read \Illuminate\Database\Eloquent\Model|\Eloquent $bookable | ||
* | ||
* @method static \Illuminate\Database\Eloquent\Builder|\Rinvex\Bookings\Models\BookingAvailability whereBookableId($value) | ||
* @method static \Illuminate\Database\Eloquent\Builder|\Rinvex\Bookings\Models\BookingAvailability whereBookableType($value) | ||
* @method static \Illuminate\Database\Eloquent\Builder|\Rinvex\Bookings\Models\BookingAvailability whereCreatedAt($value) | ||
* @method static \Illuminate\Database\Eloquent\Builder|\Rinvex\Bookings\Models\BookingAvailability whereDay($value) | ||
* @method static \Illuminate\Database\Eloquent\Builder|\Rinvex\Bookings\Models\BookingAvailability whereEndsAt($value) | ||
* @method static \Illuminate\Database\Eloquent\Builder|\Rinvex\Bookings\Models\BookingAvailability whereId($value) | ||
* @method static \Illuminate\Database\Eloquent\Builder|\Rinvex\Bookings\Models\BookingAvailability wherePrice($value) | ||
* @method static \Illuminate\Database\Eloquent\Builder|\Rinvex\Bookings\Models\BookingAvailability whereStartsAt($value) | ||
* @method static \Illuminate\Database\Eloquent\Builder|\Rinvex\Bookings\Models\BookingAvailability whereUpdatedAt($value) | ||
* @mixin \Eloquent | ||
*/ | ||
interface BookingAvailabilityContract | ||
{ | ||
// | ||
} |
Oops, something went wrong.