{"id":2874,"date":"2021-06-27T08:02:31","date_gmt":"2021-06-26T23:02:31","guid":{"rendered":"https:\/\/www.wetch.co.jp\/?p=2874"},"modified":"2022-01-25T22:22:01","modified_gmt":"2022-01-25T13:22:01","slug":"laravel%e3%81%ae%e3%82%b3%e3%83%ac%e3%82%af%e3%82%b7%e3%83%a7%e3%83%b3%ef%bc%88%e3%81%9d%e3%81%ae%ef%bc%91%ef%bc%91%ef%bc%9a%e5%86%85%e5%ae%b9%e8%a1%a8%e7%a4%ba%ef%bc%8f%e3%81%9d%e3%81%ae%e4%bb%96","status":"publish","type":"post","link":"https:\/\/www.wetch.co.jp\/note\/laravel%e3%81%ae%e3%82%b3%e3%83%ac%e3%82%af%e3%82%b7%e3%83%a7%e3%83%b3%ef%bc%88%e3%81%9d%e3%81%ae%ef%bc%91%ef%bc%91%ef%bc%9a%e5%86%85%e5%ae%b9%e8%a1%a8%e7%a4%ba%ef%bc%8f%e3%81%9d%e3%81%ae%e4%bb%96\/","title":{"rendered":"Laravel\u306e\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\uff08\u305d\u306e\uff11\uff11\uff1a\u5185\u5bb9\u8868\u793a\uff0f\u305d\u306e\u4ed6\uff09"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Laravel\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u6398\u308a\u4e0b\u3052\u30b7\u30ea\u30fc\u30ba\u7b2c\u5341\u4e00\u5f3e\uff08\u6700\u7d42\u56de\uff09\u3002\u4eca\u56de\u306f\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u306e\u5185\u5bb9\u3092\u8868\u793a\u3059\u308b\u30e1\u30bd\u30c3\u30c9\u3001\u304a\u3088\u3073\u5206\u985e\u304c\u3057\u96e3\u3044\u30e1\u30bd\u30c3\u30c9\u306b\u95a2\u3057\u3066\u78ba\u8a8d\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">dd<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>$col1 = collect(&#91;1,2,3,4,5],);\n$col1-&gt;dd();\n\n$col1-&gt;push(6);\n$col1-&gt;dd();<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u306e\u5185\u5bb9\u3092\u8868\u793a\u3057\u3001\u51e6\u7406\u3092\u4e2d\u65ad\u3057\u307e\u3059\u3002<br>\u7d50\u679c\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Illuminate\\Support\\Collection^ {#95\n  #items: array:5 &#91;\n    0 =&gt; 1\n    1 =&gt; 2\n    2 =&gt; 3\n    3 =&gt; 4\n    4 =&gt; 5\n  ]\n}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">1\u3064\u76ee\u306edd\u3067\u51e6\u7406\u304c\u4e2d\u65ad\u3055\u308c\u3066\u3057\u307e\u3046\u305f\u3081\u3001\u305d\u308c\u4ee5\u964d\u306e\u51e6\u7406\u306f\u5b9f\u884c\u3055\u308c\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">dump<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>$col1 = collect(&#91;1,2,3,4,5],);\n$col1-&gt;dump();\n\n$col1-&gt;push(6);\n$col1-&gt;dump();<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u306e\u5185\u5bb9\u3092\u8868\u793a\u3057\u307e\u3059\u3002dd\u3068\u7570\u306a\u308a\u51e6\u7406\u306f\u4e2d\u65ad\u3055\u308c\u307e\u305b\u3093\u3002<br>\u7d50\u679c\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Illuminate\\Support\\Collection^ {#93\n  #items: array:5 &#91;\n    0 =&gt; 1\n    1 =&gt; 2\n    2 =&gt; 3\n    3 =&gt; 4\n    4 =&gt; 5\n  ]\n}\nIlluminate\\Support\\Collection^ {#93\n  #items: array:6 &#91;\n    0 =&gt; 1\n    1 =&gt; 2\n    2 =&gt; 3\n    3 =&gt; 4\n    4 =&gt; 5\n    5 =&gt; 6\n  ]\n}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">push\u5b9f\u884c\u5f8c\u306e\u5185\u5bb9\u306b\u95a2\u3057\u3066\u3082\u51fa\u529b\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">implode<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>$col1 = collect(&#91;1,2,3,4,5]);\n$result = $col1-&gt;implode('-'); \/\/ 1-2-3-4-5<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u5f15\u6570\u3067\u6307\u5b9a\u3057\u305f\u6587\u5b57\u5217\u3067\u8981\u7d20\u3092\u9023\u7d50\u3057\u305f\u7d50\u679c\u306e\u6587\u5b57\u5217\u3092\u8fd4\u3057\u307e\u3059\u3002<br>\u591a\u6b21\u5143\u914d\u5217\u306e\u5834\u5408\u306f\u7b2c\u4e00\u5f15\u6570\u3067\u5bfe\u8c61\u3068\u306a\u308b\u8981\u7d20\u3092\u793a\u3059\u30ad\u30fc\u3092\u6307\u5b9a\u3057\u3001\u7b2c\u4e8c\u5f15\u6570\u306b\u9023\u7d50\u7528\u306e\u6587\u5b57\u5217\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$col1 = collect(&#91;\n    &#91;\n        &#91;\n            1,\n            2\n        ],\n        &#91;\n            3,\n            4\n        ],\n    ],\n    &#91;\n        &#91;\n            5,\n            6\n        ],\n        &#91;\n            7,\n            8\n        ],\n    ],\n]);\n$result = $col1-&gt;implode('1.0','&amp;'); \/\/ 3&amp;7<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u5f53\u7136\u306a\u304c\u3089\u30ad\u30fc\u306f\u6587\u5b57\u5217\u3067\u3082\u554f\u984c\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$col1 = collect(&#91;\n    &#91;\n        'item1' =&gt; &#91;\n            'item1-1' =&gt; 1,\n            'item1-2' =&gt; 2\n        ],\n        'item2' =&gt; &#91;\n            'item2-1' =&gt; 3,\n            'item2-2' =&gt; 4\n        ],\n    ],\n    &#91;\n        'item1' =&gt; &#91;\n            'item1-1' =&gt; 5,\n            'item1-2' =&gt; 6\n        ],\n        'item2' =&gt; &#91;\n            'item2-1' =&gt; 7,\n            'item2-2' =&gt; 8\n        ],\n    ],\n]);\n$result = $col1-&gt;implode('item1.item1-2','and'); \/\/ 2and6<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u8a72\u5f53\u3059\u308b\u30ad\u30fc\u304c\u306a\u304b\u3063\u305f\u5834\u5408\u306f\u3069\u3046\u306a\u308b\u3067\u3057\u3087\u3046\uff1f<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$col1 = collect(&#91;\n    &#91;\n        'key1' =&gt; 1,\n    ],\n    &#91;\n        'key2' =&gt; 2,\n    ],\n    &#91;\n        'key1' =&gt; 3,\n    ],\n]);\n$result = $col1-&gt;implode('key1','#'); \/\/ 1##3<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e0a\u8a18\u306e\u3088\u3046\u306b\u7121\u8996\u3055\u308c\u308b\u8a33\u3067\u306f\u306a\u304f\u3001\u7a7a\u6587\u5b57\u6271\u3044\u3068\u306a\u308b\u3088\u3046\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">macro<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>\\Illuminate\\Support\\Collection::macro('custom', function() {\n    dump($this-&gt;toArray());\n});\n\n$col = collect(&#91;\n    'key1' =&gt; 'val1',\n    'key2' =&gt; 'val2',\n]);\n$col-&gt;custom();<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u306b\u5bfe\u3057\u3066\u72ec\u81ea\u306e\u30e1\u30bd\u30c3\u30c9\u3092\u5b9a\u7fa9\u3067\u304d\u307e\u3059\u3002<br>\u7b2c\u4e00\u5f15\u6570\u306f\u65b0\u898f\u306b\u751f\u6210\u3059\u308b\u30e1\u30bd\u30c3\u30c9\u306e\u540d\u79f0\u3067\u3001\u7b2c\u4e8c\u5f15\u6570\u306b\u5b9f\u884c\u3059\u3079\u304d\u51e6\u7406\u5185\u5bb9\uff08\u95a2\u6570\uff09\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u95a2\u6570\u5185\u3067\u306f\u5143\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u306f\u300c$this\u300d\u3068\u3057\u3066\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u306e\u3067\u3001\u5f93\u6765\u306e\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u306e\u30e1\u30bd\u30c3\u30c9\u306a\u3069\u3082\u7d44\u307f\u5408\u308f\u305b\u3066\u4f7f\u3044\u306a\u304c\u3089\u72ec\u81ea\u306e\u51e6\u7406\u5185\u5bb9\u3092\u5b9a\u7fa9\u3067\u304d\u307e\u3059\u3002<br>\u7d50\u679c\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>array:2 &#91;\n  \"key1\" =&gt; \"val1\"\n  \"key2\" =&gt; \"val2\"\n]<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u72ec\u81ea\u306b\u5b9a\u7fa9\u3057\u305f\u30e1\u30bd\u30c3\u30c9\u300ccustom\u300d\u306b\u3088\u3063\u3066\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u306e\u5185\u5bb9\u304c\u51fa\u529b\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">pipe<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>$col = collect(&#91;1,2,3]);\n$result = $col-&gt;pipe(function($collection) {\n    return $collection-&gt;sum();\n}); \/\/ 6<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u5f53\u8a72\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u3092\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u306b\u6e21\u3057\u3001\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u306e\u51e6\u7406\u7d50\u679c\u304c\u8fd4\u3055\u308c\u307e\u3059\u3002<br>\u3068\u8a00\u3046\u3053\u3068\u306a\u3093\u3067\u3059\u304c\u3001\u3053\u308c\u3060\u3063\u305f\u3089\u76f4\u63a5\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u51e6\u7406\u3057\u3061\u3083\u3048\u3070\u826f\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$result = $col-&gt;sum(); \/\/ 6<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u4f7f\u3044\u6240\u304c\u4eca\u4e00\u3064\u30a4\u30e1\u30fc\u30b8\u3057\u3065\u3089\u3044\u6a5f\u80fd\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">reduce<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>$col = collect(&#91;1,2,3]);\n$result = $col-&gt;reduce(function($total, $val) {\n    return $total + ($val * $val);\n}); \/\/ 14<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u5168\u8981\u7d20\u306b\u5bfe\u3057\u3066\u5f15\u6570\u3067\u6307\u5b9a\u3057\u305f\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u3092\u547c\u3073\u51fa\u3057\u307e\u3059\u304c\u3001\u524d\u306e\u8981\u7d20\u306b\u5bfe\u3059\u308b\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u5b9f\u884c\u306e\u623b\u308a\u304c\u6b21\u306e\u8981\u7d20\u306b\u5bfe\u3059\u308b\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u547c\u3073\u51fa\u3057\u6642\u306e\u7b2c\u4e00\u5f15\u6570\u306b\u306a\u308a\u3001\u7b2c\u4e8c\u5f15\u6570\u306b\u5f53\u8a72\u8981\u7d20\u304c\u6e21\u3055\u308c\u307e\u3059\u3002<br>\u5168\u3066\u306e\u8981\u7d20\u306b\u5bfe\u3059\u308b\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u306e\u5b9f\u884c\u7d50\u679c\u304c\u672c\u30e1\u30bd\u30c3\u30c9\u306e\u623b\u308a\u5024\u306b\u306a\u308a\u307e\u3059\u3002<br>\u6700\u521d\u306e\u8981\u7d20\u306b\u5bfe\u3059\u308b\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u547c\u3073\u51fa\u3057\u6642\u306e\u7b2c\u4e00\u5f15\u6570\u306fnull\u3067\u3059\u304c\u3001reduce\u306e\u7b2c\u4e8c\u5f15\u6570\u306b\u5024\u3092\u6307\u5b9a\u3059\u308b\u3068\u305d\u308c\u304c\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u306e\u7b2c\u4e00\u5f15\u6570\u306e\u521d\u671f\u5024\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$col = collect(&#91;1,2,3]);\n$result = $col->reduce(function($total, $val) {\n    return $total + ($val * $val);\n}, 10); \/\/ 24<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">tap<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>$col = collect(&#91;1,2,3]);\n$col-&gt;tap(function($collection) {\n    $collection-&gt;push(4)-&gt;dump();\n})-&gt;dump();<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u6307\u5b9a\u3057\u305f\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u306b\u81ea\u8eab\u304c\u5f15\u6570\u3068\u3057\u3066\u6e21\u3055\u308c\u308b\u306e\u3067\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u5185\u3067\u5f53\u8a72\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u306b\u5bfe\u3057\u3066\u69d8\u3005\u306a\u64cd\u4f5c\u304c\u53ef\u80fd\u3067\u3059\u304c\u3001\u305d\u306e\u7d50\u679c\u306f\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u672c\u4f53\u306b\u5f71\u97ff\u3092\u4e0e\u3048\u307e\u305b\u3093\u3002<br>\u4e0a\u8a18\u7d50\u679c\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\uff08\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u5185\u306edump\u7d50\u679c\uff09\nIlluminate\\Support\\Collection^ {#444\n  #items: array:4 &#91;\n    0 =&gt; 1\n    1 =&gt; 2\n    2 =&gt; 3\n    3 =&gt; 4\n  ]\n}\n\uff08\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u81ea\u4f53\u306edump\u7d50\u679c\uff09\nIlluminate\\Support\\Collection^ {#445\n  #items: array:3 &#91;\n    0 =&gt; 1\n    1 =&gt; 2\n    2 =&gt; 3\n  ]\n}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u304a\u305d\u3089\u304f\u306f\u30e1\u30bd\u30c3\u30c9\u30c1\u30a7\u30fc\u30f3\u306e\u9014\u4e2d\u6bb5\u968e\u306e\u72b6\u614b\u3092\u30ed\u30b0\u306b\u6b8b\u3057\u305f\u3044\u5834\u5408\u306a\u3069\u306b\u4f7f\u7528\u3059\u308b\u3093\u3060\u3068\u601d\u3044\u307e\u3059\u304c\u3001\u3042\u307e\u308a\u4f7f\u308f\u306a\u305d\u3046\u306a\u4e88\u611f\u304c\u3057\u307e\u3059\u2026<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u7dcf\u62ec<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">implode\u306fPHP\u81ea\u4f53\u306b\u3082\u540c\u69d8\u306e\u95a2\u6570\u304c\u5b58\u5728\u3057\u3001\u3053\u3061\u3089\u306f\u6642\u3005\u4f7f\u3063\u305f\u308a\u3057\u307e\u3059\u306e\u3067\u3001\u4f7f\u3044\u6240\u306f\u3042\u308a\u305d\u3046\u306a\u6c17\u304c\u3057\u307e\u3059\u3002<br>dd\u3001dump\u306f\u30c6\u30b9\u30c8\u7528\u3067\u3059\u304b\u306d\u3002<br>\u305d\u306e\u4ed6\u306e\u30e1\u30bd\u30c3\u30c9\u306b\u95a2\u3057\u3066\u306f\u3001\u3042\u307e\u308a\u5229\u7528\u5c40\u9762\u304c\u601d\u3044\u3064\u304d\u307e\u305b\u3093\u3002<br>macro\u306b\u95a2\u3057\u3066\u306f\u4f7f\u3046\u6a5f\u4f1a\u304c\u3042\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001\u512a\u5148\u5ea6\u7684\u306b\u306f\u3001\u307e\u305a\u306f\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u30aa\u30ea\u30b8\u30ca\u30eb\u306e\u30e1\u30bd\u30c3\u30c9\u304c\u4f7f\u3044\u3053\u306a\u305b\u308b\u3088\u3046\u306b\u306a\u308b\u3079\u304d\u304b\u3068\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4eca\u56de\u3067Laravel\uff086.x\uff09\u306b\u95a2\u3059\u308b\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u3092\u4e00\u901a\u308a\u78ba\u8a8d\u3057\u305f\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<br>\u78ba\u8a8d\u3068\u4e26\u884c\u3057\u3066\u65e5\u5e38\u306e\u958b\u767a\u696d\u52d9\u306e\u4e2d\u3067\u3082\u3067\u304d\u308b\u3060\u3051\u5b66\u7fd2\u3057\u305f\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u3046\u3088\u3046\u306b\u5fc3\u304c\u3051\u3066\u304a\u308a\u3001\u306a\u3093\u3068\u306a\u304f\u958b\u767a\u52b9\u7387\u3082\u30a2\u30c3\u30d7\u3057\u3066\u3044\u308b\u3088\u3046\u306a\u6c17\u304c\u3057\u307e\u3059\u3002<br>\u305f\u3060\u3001\u307e\u3060\u307e\u3060\u8cc7\u6599\u3092\u898b\u306a\u304c\u3089\u3067\u306a\u3044\u3068\u4f7f\u3048\u306a\u3044\u50be\u5411\u306f\u3042\u308b\u305f\u3081\u3001\u65e9\u304f\u81ea\u5206\u306e\u982d\u306b\u3042\u308b\u77e5\u8b58\u3060\u3051\u3067\u5404\u7a2e\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u3044\u3053\u306a\u305b\u308b\u3088\u3046\u306b\u4eca\u5f8c\u3082\u7cbe\u9032\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Laravel\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u6398\u308a\u4e0b\u3052\u30b7\u30ea\u30fc\u30ba\u7b2c\u5341\u4e00\u5f3e\uff08\u6700\u7d42\u56de\uff09\u3002\u4eca\u56de\u306f\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u306e\u5185\u5bb9\u3092\u8868\u793a\u3059\u308b\u30e1\u30bd\u30c3\u30c9\u3001\u304a\u3088\u3073\u5206\u985e\u304c\u3057\u96e3\u3044\u30e1\u30bd\u30c3\u30c9\u306b\u95a2\u3057\u3066\u78ba\u8a8d\u3057\u3066\u3044\u304d\u307e\u3059\u3002 dd \u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u306e\u5185\u5bb9\u3092\u8868\u793a\u3057\u3001\u51e6\u7406\u3092\u4e2d\u65ad\u3057\u307e\u3059\u3002\u7d50\u679c\u306f\u4ee5 [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":2875,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_wp_rev_ctl_limit":""},"categories":[210],"tags":[],"class_list":["post-2874","post","type-post","status-publish","format-standard","has-post-thumbnail","category-210"],"_links":{"self":[{"href":"https:\/\/www.wetch.co.jp\/note\/wp-json\/wp\/v2\/posts\/2874","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wetch.co.jp\/note\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wetch.co.jp\/note\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wetch.co.jp\/note\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wetch.co.jp\/note\/wp-json\/wp\/v2\/comments?post=2874"}],"version-history":[{"count":0,"href":"https:\/\/www.wetch.co.jp\/note\/wp-json\/wp\/v2\/posts\/2874\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wetch.co.jp\/note\/wp-json\/wp\/v2\/media\/2875"}],"wp:attachment":[{"href":"https:\/\/www.wetch.co.jp\/note\/wp-json\/wp\/v2\/media?parent=2874"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wetch.co.jp\/note\/wp-json\/wp\/v2\/categories?post=2874"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wetch.co.jp\/note\/wp-json\/wp\/v2\/tags?post=2874"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}