{"id":181328,"date":"2013-05-29T06:28:02","date_gmt":"2013-05-29T02:28:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=181328"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=181328","title":{"rendered":"<span class=\"post_title\">\u0412\u044b\u0448\u0435\u043b Laravel 4<\/span>"},"content":{"rendered":"<div class=\"content html_format\">   \t\u0421\u043e\u0441\u0442\u043e\u044f\u043b\u0441\u044f \u0434\u043e\u043b\u0433\u043e\u0436\u0434\u0430\u043d\u043d\u044b\u0439 \u0440\u0435\u043b\u0438\u0437 \u0447\u0435\u0442\u0432\u0435\u0440\u0442\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 \u0437\u0430\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430.<\/p>\n<p>  \u0422\u0430\u043a\u0436\u0435 \u043e\u0431\u043d\u043e\u0432\u0438\u043b\u0441\u044f \u0441\u0430\u043c <a href=\"http:\/\/laravel.com\/\">\u0441\u0430\u0439\u0442 <\/a>\u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430.<\/p>\n<h4>\u0411\u044b\u0441\u0442\u0440\u0430\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430<\/h4>\n<p>  \u0414\u043b\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 Laravel, \u0441\u043a\u0430\u0447\u0430\u0442\u044c \u043a\u043e\u043f\u0438\u044e <a href=\"https:\/\/github.com\/laravel\/laravel\/archive\/master.zip\">\u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f \u0441 Github<\/a>.<br \/>  \u0414\u0430\u043b\u0435\u0435, \u043f\u043e\u0441\u043b\u0435 <a href=\"http:\/\/getcomposer.org\/\">\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 Composer<\/a>, \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c <code>composer install <\/code> \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u0432 \u043a\u043e\u0440\u043d\u0435\u0432\u043e\u0439 \u043f\u0430\u043f\u043a\u0435. Composer \u0441\u043a\u0430\u0447\u0430\u0435\u0442 \u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442 \u0432\u0441\u0435 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430.<\/p>\n<p>  <a name=\"habracut\"><\/a><\/p>\n<h4>\u041c\u0438\u043d\u0438 \u043e\u0431\u0437\u043e\u0440<\/h4>\n<p>  <\/p>\n<h5>\u0420\u043e\u0443\u0442\u0438\u043d\u0433<\/h5>\n<p>  <\/p>\n<h6>\u0421\u0443\u0431\u0434\u043e\u043c\u0435\u043d\u044b<\/h6>\n<p>  <\/p>\n<pre><code class=\"php\">Route::group(array('domain' =&gt; '{account}.myapp.com'), function() {      Route::get('user\/{id}', function($account, $id)     {         \/\/     });  }); <\/code><\/pre>\n<p>  <\/p>\n<h6>\u041f\u0440\u0435\u0444\u0438\u043a\u0441\u044b<\/h6>\n<p>  \u0434\u043b\u044f \u0432\u0441\u0435\u0445 \u0440\u043e\u0443\u0442\u043e\u0432 \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0449\u0438\u0445\u0441\u044f \u043d\u0430 \/admin\/  <\/p>\n<pre><code class=\"php\">Route::group(array('prefix' =&gt; 'admin'), function() {      Route::get('user', function()     {         \/\/     });  }); <\/code><\/pre>\n<h6>\u041f\u0440\u0438\u0441\u0432\u043e\u0435\u043d\u0438\u0435 \u043c\u043e\u0434\u0435\u043b\u0438 \u043a \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0443 \u0440\u043e\u0443\u0442\u0430<\/h6>\n<p>  <\/p>\n<pre><code class=\"php\">Route::model('user', 'User'); <\/code><\/pre>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u043c \u0440\u043e\u0443\u0442 \u0441 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u043c <code>{user}<\/code>  <\/p>\n<pre><code class=\"php\">Route::get('profile\/{user}', function(User $user) {     \/\/ }); <\/code><\/pre>\n<h5>\u041a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u044b<\/h5>\n<p>  <\/p>\n<h6>\u0420\u0435\u0441\u0443\u0440\u0441 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u044b<\/h6>\n<p>  \u0420\u0435\u0441\u0443\u0440\u0441 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u044b \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0442 \u043b\u0435\u0433\u043a\u043e \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c RESTful \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u044b. \u041a \u043f\u0440\u0438\u043c\u0435\u0440\u0443, \u0432\u0430\u043c \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u044c\u0441\u044f \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u00ab\u0444\u043e\u0442\u043a\u0430\u043c\u0438\u00bb \u0432 \u0432\u0430\u0448\u0435\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f <code>controller:make<\/code> \u0447\u0435\u0440\u0435\u0437 <a href=\"http:\/\/laravel.com\/docs\/artisan\">Artisan CLI<\/a><\/p>\n<p>  \u0427\u0442\u043e\u0431\u044b \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 \u0438\u0437 \u043f\u043e\u0434 \u043a\u043e\u043d\u0441\u043e\u043b\u0438, \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u0443:  <\/p>\n<pre><code class=\"bash\">php artisan controller:make PhotoController <\/code><\/pre>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u0440\u0435\u0441\u0443\u0440\u0441 \u0440\u043e\u0443\u0442:  <\/p>\n<pre><code class=\"php\">Route::resource('photo', 'PhotoController'); <\/code><\/pre>\n<p>  \u041e\u0434\u043d\u043e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0440\u043e\u0443\u0442\u0430 \u043c\u043e\u0436\u0435\u0442 \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0442\u044c \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u0440\u0430\u0437\u043d\u044b\u0445 RESTful \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439 \u043d\u0430\u0448\u0435\u0433\u043e photo \u0440\u0435\u0441\u0443\u0440\u0441\u0430.<\/p>\n<p>  <b>\u0414\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u043c\u044b\u0435 \u0440\u0435\u0441\u0443\u0440\u0441 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u043e\u043c<\/b>  <\/p>\n<table>\n<tbody>\n<tr>\n<td>GET<\/td>\n<td>\/resource<\/td>\n<td>index<\/td>\n<td>resource.index<\/td>\n<\/tr>\n<tr>\n<td>GET<\/td>\n<td>\/resource\/create<\/td>\n<td>create<\/td>\n<td>resource.create<\/td>\n<\/tr>\n<tr>\n<td>POST<\/td>\n<td>\/resource<\/td>\n<td>store<\/td>\n<td>resource.store<\/td>\n<\/tr>\n<tr>\n<td>GET<\/td>\n<td>\/resource\/{id}<\/td>\n<td>show<\/td>\n<td>resource.show<\/td>\n<\/tr>\n<tr>\n<td>GET<\/td>\n<td>\/resource\/{id}\/edit<\/td>\n<td>edit<\/td>\n<td>resource.edit<\/td>\n<\/tr>\n<tr>\n<td>PUT\/PATCH<\/td>\n<td>\/resource\/{id}<\/td>\n<td>update<\/td>\n<td>resource.update<\/td>\n<\/tr>\n<tr>\n<td>DELETE<\/td>\n<td>\/resource\/{id}<\/td>\n<td>destroy<\/td>\n<td>resource.destroy<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>  <\/p>\n<h6>Rest \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u044b<\/h6>\n<p>  \u041d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430 \u0440\u043e\u0443\u0442\u0443  <\/p>\n<pre><code class=\"php\">Route::controller('users', 'UserController'); <\/code><\/pre>\n<p>  <code>controller <\/code> \u043c\u0435\u0442\u043e\u0434 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 \u0434\u0432\u0430 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u0430. \u041f\u0435\u0440\u0432\u044b\u0439 \u2014 \u0431\u0430\u0437\u043e\u0432\u044b\u0439 URI \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440, \u0430 \u0432\u0442\u043e\u0440\u043e\u0439 \u0438\u043c\u044f \u043a\u043b\u0430\u0441\u0441\u0430 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430. \u0414\u0430\u043b\u0435\u0435, \u043f\u0440\u043e\u0441\u0442\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u043c\u0435\u0442\u043e\u0434\u044b \u0432 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0435, \u0441 \u043f\u0440\u0435\u0444\u0438\u043a\u0441\u043e\u043c \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u043c \u0442\u0438\u043f\u0443 HTTP:  <\/p>\n<pre><code class=\"php\">class UserController extends BaseController {      \/\/GET \/user\/index     public function getIndex()     {         \/\/     }      \/\/POST \/user\/profile     public function postProfile()     {         \/\/     }  } <\/code><\/pre>\n<p>  \u0415\u0441\u043b\u0438 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u0432\u0430\u0448\u0435\u0433\u043e \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u043b\u043e\u0432, \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043e\u0431\u0440\u0430\u0449\u0430\u0442\u044c\u0441\u044f \u043a \u043d\u0438\u043c \u0447\u0435\u0440\u0435\u0437 \u00ab\u0442\u0438\u0440\u0435\u00bb \u0432 URI. \u041a \u043f\u0440\u0438\u043c\u0435\u0440\u0443, \u0442\u0435\u043a\u0443\u0449\u0435\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430 <code>UserController<\/code> \u0431\u0443\u0434\u0435\u0442 \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0442\u044c <code>users\/admin-profile<\/code> URI:  <\/p>\n<pre><code class=\"php\">public function getAdminProfile() {} <\/code><\/pre>\n<h5>\u0424\u0430\u0441\u0430\u0434<\/h5>\n<p>  \u0424\u0430\u0441\u0430\u0434\u044b \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442 \u00ab\u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439\u00bb \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u043a \u043a\u043b\u0430\u0441\u0441\u0430\u043c \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u0447\u0435\u0440\u0435\u0437 <a href=\"http:\/\/laravel.com\/docs\/ioc\">IoC \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440<\/a>. Laravel \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0444\u0430\u0441\u0430\u0434\u044b \u043f\u043e\u0432\u0441\u0435\u043c\u0435\u0441\u0442\u043d\u043e, \u0438 \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0438\u0445 \u0434\u0430\u0436\u0435 \u043d\u0435 \u0437\u043d\u0430\u044f \u043e\u0431 \u044d\u0442\u043e\u043c.<br \/>  \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u043a\u043b\u0430\u0441\u0441\u0430 <code>Cache<\/code>  <\/p>\n<pre><code class=\"php\">$value = Cache::get('key'); <\/code><\/pre>\n<p>  \u041e\u0434\u043d\u0430\u043a\u043e, \u0435\u0441\u043b\u0438 \u0437\u0430\u0433\u043b\u044f\u043d\u0443\u0442\u044c \u0432 \u043a\u043b\u0430\u0441\u0441 <code>Illuminate\\Support\\Facades\\Cache<\/code>, \u0432\u044b \u0437\u0430\u043c\u0435\u0442\u0438\u0442\u0435 \u0447\u0442\u043e \u0442\u0430\u043c \u043d\u0435\u0442 \u043c\u0435\u0442\u043e\u0434\u0430 <code>get<\/code>  <\/p>\n<pre><code class=\"php\">class Cache extends Facade {      \/**      * Get the registered name of the component.      *      * @return string      *\/     protected static function getFacadeAccessor() { return 'cache'; }  } <\/code><\/pre>\n<p>  \u041a\u043b\u0430\u0441\u0441 Cache \u043d\u0430\u0441\u043b\u0435\u0434\u0443\u0435\u0442\u0441\u044f \u043e\u0442 <code>Facade<\/code> \u043a\u043b\u0430\u0441\u0441\u0430, \u0438 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u043c\u0435\u0442\u043e\u0434 <code>getFacadeAccessor()<\/code> \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0438\u043c\u044f \u043a\u043b\u044e\u0447\u0430 \u0432 IoC \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0435.<\/p>\n<p>  \u0410\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u043d\u0430\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f <code>Cache::get<\/code> \u0431\u0435\u0437 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0444\u0430\u0441\u0430\u0434\u0430  <\/p>\n<pre><code class=\"php\">$value = $app-&gt;make('cache')-&gt;get('key'); <\/code><\/pre>\n<p>  \u0415\u0441\u043b\u0438 \u0437\u0430\u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043e\u0432\u0430\u043b\u043e, \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0439\u0442\u0438 \u043f\u043e \u0441\u0441\u044b\u043b\u043e\u0447\u043a\u0430\u043c.<\/p>\n<p>  <a href=\"http:\/\/laravel.com\/docs\">\u0414\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f<\/a><br \/>  <a href=\"http:\/\/laravel.com\/docs\/quick\">\u0411\u044b\u0441\u0442\u0440\u044b\u0439 \u0421\u0442\u0430\u0440\u0442<\/a><br \/>  <a href=\"https:\/\/github.com\/laravel\/laravel\">Github<\/a>    \t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/181328\/\"> http:\/\/habrahabr.ru\/post\/181328\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">   \t\u0421\u043e\u0441\u0442\u043e\u044f\u043b\u0441\u044f \u0434\u043e\u043b\u0433\u043e\u0436\u0434\u0430\u043d\u043d\u044b\u0439 \u0440\u0435\u043b\u0438\u0437 \u0447\u0435\u0442\u0432\u0435\u0440\u0442\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 \u0437\u0430\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430.<\/p>\n<p>  \u0422\u0430\u043a\u0436\u0435 \u043e\u0431\u043d\u043e\u0432\u0438\u043b\u0441\u044f \u0441\u0430\u043c <a href=\"http:\/\/laravel.com\/\">\u0441\u0430\u0439\u0442 <\/a>\u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430.<\/p>\n<h4>\u0411\u044b\u0441\u0442\u0440\u0430\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430<\/h4>\n<p>  \u0414\u043b\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 Laravel, \u0441\u043a\u0430\u0447\u0430\u0442\u044c \u043a\u043e\u043f\u0438\u044e <a href=\"https:\/\/github.com\/laravel\/laravel\/archive\/master.zip\">\u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f \u0441 Github<\/a>.<br \/>  \u0414\u0430\u043b\u0435\u0435, \u043f\u043e\u0441\u043b\u0435 <a href=\"http:\/\/getcomposer.org\/\">\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 Composer<\/a>, \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c <code>composer install <\/code> \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u0432 \u043a\u043e\u0440\u043d\u0435\u0432\u043e\u0439 \u043f\u0430\u043f\u043a\u0435. Composer \u0441\u043a\u0430\u0447\u0430\u0435\u0442 \u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442 \u0432\u0441\u0435 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-181328","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/181328","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=181328"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/181328\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=181328"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=181328"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=181328"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}