{"id":173955,"date":"2013-03-23T03:13:03","date_gmt":"2013-03-22T23:13:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=173955"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=173955","title":{"rendered":"<span class=\"post_title\">\u041f\u0440\u0438\u043a\u0440\u0443\u0447\u0438\u0432\u0430\u0435\u043c Doctrine 2 ORM \u043a Silex<\/span>"},"content":{"rendered":"<div class=\"content html_format\">   \t\u041d\u0435\u0434\u0430\u0432\u043d\u043e \u0443\u0437\u043d\u0430\u043b \u043e \u0432\u0435\u043b\u0438\u043a\u043e\u043b\u0435\u043f\u043d\u043e\u043c \u043c\u0438\u043a\u0440\u043e-\u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0435 <a href=\"http:\/\/silex.sensiolabs.org\/\">Silex<\/a>, \u0438 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0441\u0442\u043e\u043b\u044c \u0436\u0435 \u043d\u0435\u0434\u0430\u0432\u043d\u043e \u043e \u043c\u043e\u0434\u0435\u043b\u0438 <a href=\"http:\/\/ru.wikipedia.org\/wiki\/ORM\">ORM<\/a>. \u0422\u0443\u0442\u043e\u0440\u0438\u0430\u043b \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u043b\u0435\u0437\u0435\u043d \u0442\u0435\u043c, \u043a\u0442\u043e \u0445\u043e\u0447\u0435\u0442 \u0441\u0432\u044f\u0437\u0430\u0442\u044c \u043e\u0434\u043d\u043e \u0441 \u0434\u0440\u0443\u0433\u0438\u043c.<a name=\"habracut\"><\/a><br \/>  Silex \u2014 \u043b\u0435\u0433\u043a\u0438\u0439, \u0440\u0430\u0441\u0448\u0438\u0440\u044f\u0435\u043c\u044b\u0439 \u043c\u0438\u043a\u0440\u043e-\u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a, \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d \u043d\u0430 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430\u0445 <a href=\"http:\/\/symfony.com\/\">Symfony 2<\/a> \u0438 <a href=\"http:\/\/pimple.sensiolabs.org\/\">Pimple<\/a>.<br \/>  Doctrine \u2014 ORM \u0434\u0432\u0438\u0436\u043e\u043a, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0438\u0439 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 \u0411\u0414 \u043d\u0435 \u043d\u0430\u043f\u0440\u044f\u043c\u0443\u044e, \u0430 \u0447\u0435\u0440\u0435\u0437 \u043e\u0431\u044b\u0447\u043d\u044b\u0435 \u043e\u0431\u044a\u0435\u043a\u0442\u044b.<br \/>  \u0421\u0442\u0430\u0442\u044c\u044f \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0430 \u043f\u043e \u043c\u043e\u0442\u0438\u0432\u0430\u043c <a href=\"http:\/\/martinsikora.com\/silex-doctrine2-orm\">\u044d\u0442\u043e\u0439<\/a>, \u043e\u0434\u043d\u0430\u043a\u043e \u043d\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0435\u0435 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u043e\u043c.<br \/>  \u0427\u0442\u043e \u0436\u0435, \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u043c \u0441\u0432\u044f\u0437\u0430\u0442\u044c \u043e\u0434\u043d\u043e \u0441 \u0434\u0440\u0443\u0433\u0438\u043c. \u0414\u043b\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a \u0431\u0443\u0434\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <a href=\"http:\/\/getcomposer.org\/\">Composer<\/a>.<\/p>\n<h4>\u041e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u043c \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u0432 <code>composer.json<\/code><\/h4>\n<p>  <\/p>\n<pre><code class=\"javascript\">{     &quot;minimum-stability&quot;: &quot;dev&quot;,     &quot;require&quot;: {         &quot;php&quot;: &quot;&gt;=5.3.3&quot;,         &quot;silex\/silex&quot;: &quot;1.*&quot;,         &quot;taluu\/doctrine-orm-provider&quot;: &quot;1.0.*&quot;     },     &quot;config&quot;: {         &quot;bin-dir&quot;: &quot;bin&quot;     } } <\/code><\/pre>\n<p>  \u0421\u0442\u043e\u0438\u0442 \u043f\u043e\u044f\u0441\u043d\u0438\u0442\u044c \u043f\u043e\u043b\u0435 config. \u0412 \u043d\u0435\u043c \u043c\u044b \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u043c\u0435\u0441\u0442\u043e, \u043a\u0443\u0434\u0430 Composer \u0441\u043e\u0437\u0434\u0430\u0441\u0442 \u044f\u0440\u043b\u044b\u043a\u0438 (aliases) \u043d\u0430 \u0444\u0430\u0439\u043b\u044b, \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u044b\u0435 \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u0438.<br \/>  \u0412\u044b\u043f\u043e\u043b\u043d\u0438\u043c <code>composer install<\/code><\/p>\n<h4>\u0414\u043e\u0431\u0430\u0432\u0438\u043c \u043a\u043e\u0434 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f<\/h4>\n<p>  \u0412 \u043a\u043e\u0440\u043d\u0435 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u043f\u0430\u043f\u043a\u0443 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u2014 <code>app\/src<\/code>, \u0438\u043b\u0438 \u043b\u044e\u0431\u0443\u044e \u0434\u0440\u0443\u0433\u0443\u044e \u043d\u0430 \u0432\u044b\u0431\u043e\u0440. \u0421\u043b\u0435\u0434\u0443\u044f <a href=\"https:\/\/github.com\/fabpot\/Silex-Skeleton\/tree\/master\/src\">\u0448\u0430\u0431\u043b\u043e\u043d\u0443<\/a>(\u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043a\u0441\u0442\u0430\u0442\u0438 \u043c\u043e\u0436\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c, \u0447\u0435\u0433\u043e \u044f \u043d\u0435 \u0441\u0442\u0430\u043b \u0434\u0435\u043b\u0430\u0442\u044c) \u044f \u043d\u0430\u0437\u0432\u0430\u043b <code>src<\/code>.<br \/>  \u0412<code> index.php <\/code>\u0434\u043e\u0431\u0430\u0432\u0438\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043a\u043e\u0434:  <\/p>\n<pre><code class=\"php\">\/\/ index.php &lt;?php  $app = require __DIR__.'\/src\/app.php'; $app-&gt;run(); <\/code><\/pre>\n<p>  \u0417\u0434\u0435\u0441\u044c \u043c\u044b \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u0430\u0432\u0442\u043e\u0437\u0430\u0433\u0440\u0443\u0437\u0447\u0438\u043a \u043a\u043b\u0430\u0441\u0441\u043e\u0432, \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0439 Composer, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0432 $app \u0432\u044b\u0433\u0440\u0443\u0436\u0430\u0435\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u0435\u0433\u043e.<br \/>  \u0427\u0442\u043e \u0436\u0435 \u0432\u043d\u0443\u0442\u0440\u0438 app.php:  <\/p>\n<pre><code class=\"php\">\/\/ src\/app.php &lt;?php  require __DIR__.'\/..\/vendor\/autoload.php';  $app = new Silex\\Application(); $app['debug'] = true;  require __DIR__.'\/registers.php'; require __DIR__.'\/controllers.php'; return $app; <\/code><\/pre>\n<p>  \u0412 controllers.php \u043e\u043f\u0438\u0448\u0435\u043c \u043b\u043e\u0433\u0438\u043a\u0443 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u043e\u0432: $app-&gt;get(), $app-&gt;error() \u0438 \u0442\u0434.<br \/>  \u041d\u0430\u0441 \u0436\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u0435\u0442 registers.php:  <\/p>\n<pre><code class=\"php\">\/\/ src\/registers.php &lt;?php  use Doctrine\\Common\\Cache\\ApcCache; use Doctrine\\Common\\Cache\\ArrayCache;  $app-&gt;register(new Silex\\Provider\\DoctrineServiceProvider(), array(     'db.options' =&gt; array(\/\/ \u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 DBAL \u0442\u0443\u0442: http:\/\/silex.sensiolabs.org\/doc\/providers\/doctrine.html         'driver' =&gt; 'pdo_mysql',          'dbname' =&gt; 'silex_test',         'host' =&gt; '127.0.0.1',         'user' =&gt; 'root',         'password' =&gt; 'root',         'charset' =&gt; 'utf8'     ) ));  $app-&gt;register(new Nutwerk\\Provider\\DoctrineORMServiceProvider(), array(     'db.orm.proxies_dir'           =&gt; __DIR__.'\/..\/cache\/doctrine\/proxy',     'db.orm.proxies_namespace'     =&gt; 'DoctrineProxy',     'db.orm.cache'                 =&gt;         !$app['debug'] && extension_loaded('apc') ? new ApcCache() : new ArrayCache(),     'db.orm.auto_generate_proxies' =&gt; true,     'db.orm.entities'              =&gt; array(array(         'type'      =&gt; 'annotation',       \/\/ \u043a\u0430\u043a \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u043c \u043f\u043e\u043b\u044f \u0432 Entity         'path'      =&gt; __DIR__,   \/\/ \u041f\u0443\u0442\u044c, \u0433\u0434\u0435 \u0445\u0440\u0430\u043d\u0438\u043c \u043a\u043b\u0430\u0441\u0441\u044b         'namespace' =&gt; 'TestApp\\Entity', \/\/ \u041f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u043e \u0438\u043c\u0435\u043d     )), )); <\/code><\/pre>\n<p>  \u0421\u043e\u0433\u043b\u0430\u0441\u043d\u043e \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u043c\u0443 namespace \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438, \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435:<br \/>  <code>src\/TestApp<\/code> \u0438 <code>src\/TestApp\/Entity<\/code><\/p>\n<h4>\u041d\u0430\u0441\u0442\u0440\u043e\u0438\u043c \u043a\u043e\u043d\u0441\u043e\u043b\u044c\u043d\u043e\u0435 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 Doctrine<\/h4>\n<p>  \u041f\u0440\u0438\u0439\u0434\u0435\u0442\u0441\u044f \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u043a\u043e\u0434 \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u044c\u043d\u044b\u0445 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432(\u0434\u0430\u043b\u044c\u0448\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u043a\u043e\u043d\u0441\u043e\u043b\u044c) Doctrine, \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0445, \u0431\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f Composer \u0432 <code>bin<\/code>.<br \/>  \u0427\u0442\u043e\u0431\u044b \u0441\u0432\u044f\u0437\u0430\u0442\u044c \u043a\u043e\u043d\u0441\u043e\u043b\u044c \u0438 \u043d\u0430\u0448\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u043c <code>cli-config.php<\/code>. \u0418\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u044d\u0442\u043e\u0442 \u0444\u0430\u0439\u043b \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432 <code>vendor\/doctrine\/orm\/tools\/sandbox<\/code>, \u0441\u043a\u043e\u043f\u0438\u0440\u0443\u0435\u043c \u043e\u0442 \u0442\u0443\u0434\u0430 \u0432 <code>bin<\/code>. \u0410 \u0442\u0435\u043f\u0435\u0440\u044c \u0443\u0434\u0430\u043b\u0438\u043c \u0432\u0441\u0435, \u043a\u0440\u043e\u043c\u0435 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f <code>$helpers<\/code>.<br \/>  \u0412\u0435\u0441\u044c \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u044b\u0439 \u043a\u043e\u0434 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u043b \u0438 \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u043b \u0442\u043e, \u0447\u0442\u043e \u043c\u044b \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u043b\u0438 \u0434\u043b\u044f \u043d\u0430\u0448\u0435\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f. \u0422\u0430\u043a \u043f\u043e\u0447\u0435\u043c\u0443 \u0431\u044b \u043d\u0430\u043c \u044d\u0442\u043e \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c?  <\/p>\n<pre><code class=\"php\">\/\/ bin\/cli-config.php &lt;?php  $app = require __DIR__.'\/..\/src\/app.php'; $em = $app['db.orm.em']; $helpers = new Symfony\\Component\\Console\\Helper\\HelperSet(array(     'db' =&gt; new \\Doctrine\\DBAL\\Tools\\Console\\Helper\\ConnectionHelper($em-&gt;getConnection()),     'em' =&gt; new \\Doctrine\\ORM\\Tools\\Console\\Helper\\EntityManagerHelper($em) )); <\/code><\/pre>\n<p>  \u0422\u0443\u0442 \u0441\u0442\u043e\u0438\u0442 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c, \u0447\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u044f \u0432 \u043d\u0430\u0448\u0435\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438 \u0441 Doctine, \u043a\u043e\u043f\u0438\u044e EntityManager \u043c\u044b \u0441\u043c\u043e\u0436\u0435\u043c \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0438\u0437 <code>$app['db.orm.em']<\/code>  <\/p>\n<h5>\u0412\u0430\u0440\u0438\u0430\u043d\u0442\u044b \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u044d\u0442\u0438\u0445 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a:<\/h5>\n<p>  <\/p>\n<ol>\n<li>\u041d\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442, \u0442\u0430\u043a \u0434\u0435\u043b\u0430\u0442\u044c \u043d\u0435 \u0441\u0442\u043e\u0438\u0442:<br \/>  \u0418\u0441\u043f\u0440\u0430\u0432\u0438\u043c bin\/doctrine.php:<br \/> \n<pre><code class=\"php\">\t$configFile = getcwd() . DIRECTORY_SEPARATOR . 'bin\/cli-config.php'; \/\/ 21 \u0441\u0442\u0440\u043e\u043a\u0430 <\/code><\/pre>\n<p>  \u041f\u043e\u0434\u043e\u0431\u043d\u043e\u0435 \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0438 \u043d\u0435 \u0434\u0435\u043b\u0430\u0442\u044c, \u043f\u043e\u043c\u0435\u0441\u0442\u0438\u0432 cli-config.php \u0432 \u043a\u043e\u0440\u0435\u043d\u044c \u043f\u0440\u043e\u0435\u043a\u0442\u0430. \u0421 \u043e\u0434\u043d\u043e\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u044b \u043d\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043a\u043e\u0434 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a, \u0441 \u0434\u0440\u0443\u0433\u043e\u0439 \u2014 \u0443\u0434\u043e\u0431\u043d\u043e.<\/li>\n<li> \u041c\u043e\u0436\u043d\u043e \u043f\u043e\u0439\u0442\u0438 \u0438 \u0438\u043d\u044b\u043c, \u0431\u043e\u043b\u0435\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u043c \u043f\u0443\u0442\u0435\u043c \u2014 \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0441\u0432\u043e\u044e \u043a\u043e\u043d\u0441\u043e\u043b\u044c \u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0441\u0432\u043e\u0438 \u043a\u043e\u043d\u0444\u0438\u0433\u0438 \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e:<br \/> \n<pre><code class=\"php\">\/\/ bin\/console #!\/usr\/bin\/env php &lt;?php require 'cli-config.php'; include('doctrine.php'); <\/code><\/pre>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u0434\u043e \u0434\u0430\u0442\u044c \u043f\u0440\u0430\u0432\u0430 \u043d\u0430 \u0438\u0441\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 bin\/console \u0438 \u0434\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0438\u0437 \u043a\u043e\u0440\u043d\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c:  <\/p>\n<pre><code class=\"bash\">.\/bin\/console [command_name] <\/code><\/pre>\n<\/li>\n<\/ol>\n<p>  \u0427\u0442\u043e \u0435\u0449\u0435 \u043f\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u043f\u043e \u0442\u0435\u043c\u0435:<br \/>  <a href=\"http:\/\/odiszapc.ru\/doctrine\/\">\u0420\u0443\u0441\u0441\u043a\u0430\u044f \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f \u043f\u043e Doctrine<\/a><br \/>  <a href=\"http:\/\/docs.doctrine-project.org\/projects\/doctrine-orm\/en\/latest\/index.html\">\u0410\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u0430\u044f \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f \u043f\u043e Doctrine ORM<\/a>    \t \t\t   \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\/173955\/\"> http:\/\/habrahabr.ru\/post\/173955\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">   \t\u041d\u0435\u0434\u0430\u0432\u043d\u043e \u0443\u0437\u043d\u0430\u043b \u043e \u0432\u0435\u043b\u0438\u043a\u043e\u043b\u0435\u043f\u043d\u043e\u043c \u043c\u0438\u043a\u0440\u043e-\u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0435 <a href=\"http:\/\/silex.sensiolabs.org\/\">Silex<\/a>, \u0438 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0441\u0442\u043e\u043b\u044c \u0436\u0435 \u043d\u0435\u0434\u0430\u0432\u043d\u043e \u043e \u043c\u043e\u0434\u0435\u043b\u0438 <a href=\"http:\/\/ru.wikipedia.org\/wiki\/ORM\">ORM<\/a>. \u0422\u0443\u0442\u043e\u0440\u0438\u0430\u043b \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u043b\u0435\u0437\u0435\u043d \u0442\u0435\u043c, \u043a\u0442\u043e \u0445\u043e\u0447\u0435\u0442 \u0441\u0432\u044f\u0437\u0430\u0442\u044c \u043e\u0434\u043d\u043e \u0441 \u0434\u0440\u0443\u0433\u0438\u043c.<\/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-173955","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/173955","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=173955"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/173955\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=173955"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=173955"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=173955"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}