PluginProbe
Fluent Booking – The Ultimate Appointments Scheduling, Events Booking, Events Calendar Solution / 1.5.0
Fluent Booking – The Ultimate Appointments Scheduling, Events Booking, Events Calendar Solution v1.5.0
2.4.0 2.3.0 2.2.5 2.2.0 2.1.2 2.1.1 trunk 1.10.0 1.10.01 1.10.02 1.5.0 1.5.01 1.5.02 1.5.1 1.5.10 1.5.20 1.5.21 1.5.22 1.5.23 1.5.24 1.5.25 1.6.0 1.7.0 1.7.1 1.7.2 All 33 releases
fluent-booking / vendor / wpfluent / framework / src / WPFluent / Support / UrlRoutable.php

UrlRoutable.php in Fluent Booking – The Ultimate Appointments Scheduling, Events Booking, Events Calendar Solution 1.5.0, at vendor/wpfluent/framework/src/WPFluent/Support/UrlRoutable.php

40 lines 900 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace FluentBooking\Framework\Support;
4
5 interface UrlRoutable
6 {
7 /**
8 * Get the value of the model's route key.
9 *
10 * @return mixed
11 */
12 public function getRouteKey();
13
14 /**
15 * Get the route key for the model.
16 *
17 * @return string
18 */
19 public function getRouteKeyName();
20
21 /**
22 * Retrieve the model for a bound value.
23 *
24 * @param mixed $value
25 * @param string|null $field
26 * @return \FluentBooking\Framework\Database\Orm\Model|null
27 */
28 public function resolveRouteBinding($value, $field = null);
29
30 /**
31 * Retrieve the child model for a bound value.
32 *
33 * @param string $childType
34 * @param mixed $value
35 * @param string|null $field
36 * @return \FluentBooking\Framework\Database\Orm\Model|null
37 */
38 public function resolveChildRouteBinding($childType, $value, $field);
39 }
40