| 1 | <?php namespace Arcanedev\LaravelSeo\Redirectors; |
||
| 12 | class EloquentRedirector extends AbstractRedirector implements Redirector |
||
| 13 | { |
||
| 14 | /* ----------------------------------------------------------------- |
||
| 15 | | Main Methods |
||
| 16 | | ----------------------------------------------------------------- |
||
| 17 | */ |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Get the redirected URLs. |
||
| 21 | * |
||
| 22 | * @return array |
||
| 23 | */ |
||
| 24 | 2 | public function getRedirectedUrls() |
|
| 33 | |||
| 34 | /** |
||
| 35 | * Get the cached redirection urls. |
||
| 36 | * |
||
| 37 | * @return \Illuminate\Database\Eloquent\Collection |
||
| 38 | */ |
||
| 39 | protected function getCachedRedirects() |
||
| 45 | |||
| 46 | /** |
||
| 47 | * Get the redirect model. |
||
| 48 | * |
||
| 49 | * @return \Arcanedev\LaravelSeo\Models\Redirect |
||
| 50 | */ |
||
| 51 | 2 | private function getRedirectModel() |
|
| 57 | } |
||
| 58 |