Collection使ってますか? 【大阪】Laravel LT 2019/01/25

Cee96b8592b2ee9c15f940e62a5e88fb?s=47 ynishizawa6
January 25, 2019

Collection使ってますか? 【大阪】Laravel LT 2019/01/25

Cee96b8592b2ee9c15f940e62a5e88fb?s=128

ynishizawa6

January 25, 2019
Tweet

Transcript

  1. Copyright© Nextat Inc. All Rights Reserved. $PMMFDUJPO࢖ͬͯ·͔͢ גࣜձࣾ/FYUBU ੢ᖒɹ༟໵ 2018/10/30

    -BSBWFM-50TBLB
  2. Copyright© Nextat Inc. All Rights Reserved. ΞδΣϯμ ▪ ࣗݾ঺հ ▪

    Collectionͱ͸ ▪ EloquentͷCollectionͱ͸ ▪ EloquentͷCollectionϝιουઆ໌ ▪ ؾΛ͚ͭΔ͜ͱ ▪ ·ͱΊ 2018/10/30 2
  3. Copyright© Nextat Inc. All Rights Reserved. ࣗݾ঺հ ໊લ ੢ᖒ༟໵:VZB/JTIJ[BXB ॴଐɹ

    גࣜձࣾ/FYUBU ωΫελοτ ୅දऔక໾ ܦྺ େֶੜˠχʔτˠ୅දऔక໾ˠΤϯδχΞ ຖिਫ༵೔ͷ࣌൒͔Β΋͘΋͘ձ!ژ౎Λ։࠵ 2018/10/30 3
  4. Copyright© Nextat Inc. All Rights Reserved. $PMMFDUJPOͱ͸ ɾ*MMVNJOBUFa4VQQPSUa$PMMFDUJPO ഑ྻʹࣗզ͕ժੜ͑ͨ΋ͷͰ͢X ˠ0CKFDUతʹ഑ྻΛૢ࡞͢ΔͨΊʹ࡞ΒΕͨϥούʔͰ

    ͢ 2018/10/30 4
  5. Copyright© Nextat Inc. All Rights Reserved. Α͘࢖͏$PMMFDUJPO 2018/10/30 5

  6. Copyright© Nextat Inc. All Rights Reserved. &MPRVFOUͷ$PMMFDUJPOͱ͸ ɾ*MMVNJOBUFa%BUBCBTFa&MPRVFOUa$PMMFDUJPO த਎͕શͯ.PEFM$MBTTͷΠϯελϯεʹͳ͍ͬͯΔ$PMMFDUJPO *MMVNJOBUFa4VQQPSUa$PMMFDUJPOΛܧঝ͞Ε͍ͯΔͷͰ

    4VQQPSU$PMMFDUJPOͷϝιου͸͢΂ͯ࢖͑·͢ &MPRVFOUͷ#VJMEFSΛ࢖ͬͯෳ਺Ϩίʔυʢෳ਺.PEFM Λऔಘͨ͠৔ ߹͸&MPRVFOU$PMMFDUJPOͰऔಘ͠·͢ 2018/10/30 6
  7. Copyright© Nextat Inc. All Rights Reserved. &MPRVFOUͷ$PMMFDUJPOͬͯԿ͕ศརͳͷ 2018/10/30 7 ɾλΠϓώϯτ͕Ͱ͖Δ

    ɾ.PEFMपΓʹ࠷దԽ͞Εͨϝιου͕༻ҙ͞Ε͍ͯΔ ˠجຊతʹ͸.PEFMͷ1SJNBSZ,FZ *% Ͱ؅ཧͰ͖Δ
  8. Copyright© Nextat Inc. All Rights Reserved. &MPRVFOUͷ$PMMFDUJPOϝιουઆ໌ 2018/10/30 8 ɾGJOE

    LFZ EFGBVMUOVMM .PEFM ˠ.PEFMͷ1SJNBSZ,FZͱҰக͢Δ.PEFMΛऔಘ͢Δ ɾMPBE SFMBUJPOT $PMMFDUJPO ɻ ˠ.PEFMͷϦϨʔγϣϯઌΛڧ੍తʹૣظϩʔυ͢Δ
  9. Copyright© Nextat Inc. All Rights Reserved. &MPRVFOUͷ$PMMFDUJPOϝιουઆ໌ 2018/10/30 9 ɾMPBE.JTTJOH

    SFMBUJPOT $PMMFDUJPO ˠ.PEFMͷϦϨʔγϣϯઌͰૣظϩʔυ͞Ε͍ͯͳ͍΋ͷ͚ͩΛ ૣظϩʔυ͢Δ ɾMPBE.PSQI SFMBUJPO BSSBZSFMBUJPOT $PMMFDUJPO ˠ.PEFMͷϙϦϞʔϑΟοΫؔ࿈Λૣظϩʔυ͢Δ
  10. Copyright© Nextat Inc. All Rights Reserved. &MPRVFOUͷ$PMMFDUJPOϝιουઆ໌ 2018/10/30 10 ɾDPOUBJOT

    LFZ PQFSBUPSOVMM WBMVFOVMM CPPM ˠୈҰҾ਺ʹ.PEFM$MBTTΠϯελϯεΛ౉͢ͱɺ%#໊  5BCMF໊ 1SJNBSZ,FZͰൺֱͯ͠ଘࡏνΣοΫ͠·͢ ˠୈҰҾ਺ʹ1SJNBSZ,FZΛࢦఆ͢Δͱɺ1SJNBSZ,FZͷΈͰൺ ֱͯ͠ଘࡏνΣοΫ͠·͢
  11. Copyright© Nextat Inc. All Rights Reserved. &MPRVFOUͷ$PMMFDUJPOϝιουઆ໌ 2018/10/30 11 ɾNPEFM,FZT

    SFMBUJPOT BSSBZ ˠ.PEFMͷ1SJNBSZ,FZΛऔಘ͢Δ ɾGSFTI SFMBUJPOT $PMMFDUJPO ˠϦϨʔγϣϯઌ΋߹Θͤͯɺ࠷৽ͷ.PEFM৘ใʹߋ৽͢Δ
  12. Copyright© Nextat Inc. All Rights Reserved. &MPRVFOUͷ$PMMFDUJPOϝιουઆ໌ 2018/10/30 12 ɾEJGG

    JUFNT $PMMFDUJPO ˠࢦఆͨ͠.PEFMͷ1SJNBSZ,FZʹҰகͨ͠৔߹ɺࢦఆͨ͠ .PEFMΛऔΓআ͘ ɾJOUFSTFDU JUFNT $PMMFDUJPO ˠࢦఆͨ͠.PEFMͷ1SJNBSZ,FZʹҰகͨ͠.PEFMͷΈऔಘ͢Δ
  13. Copyright© Nextat Inc. All Rights Reserved. &MPRVFOUͷ$PMMFDUJPOϝιουઆ໌ 2018/10/30 13 ɾVOJRVF

    LFZOVMM TUSJDUGBMTF $PMMFDUJPO ˠୈҰҾ਺Λࢦఆ͠ͳ͍৔߹ɺ.PEFMͷ1SJNBSZ,FZ͕ॏෳͯ͠ ͍Δ.PEFMΛऔΓআ͘ ɾPOMZ LFZT $PMMFDUJPO ˠࢦఆͨ͠1SJNBSZ,FZʹҰகͨ͠.PEFMͷΈऔಘ͢Δ
  14. Copyright© Nextat Inc. All Rights Reserved. &MPRVFOUͷ$PMMFDUJPOϝιουઆ໌ 2018/10/30 14 ɾNBLF)JEEFO

    BUUSJCVUFT $PMMFDUJPO ˠUP"SSBZ ͷ࣌ʹɺऔಘͰ͖ͳ͍ϓϩύςΟΛҰׅͰࢦఆ͢Δ ɾNBLF7JTJCMF BUUSJCVUFT $PMMFDUJPO ˠUP"SSBZ ͷ࣌ʹɺऔಘ͍ͨ͠ϓϩύςΟΛҰׅͰࢦఆ͢Δ
  15. Copyright© Nextat Inc. All Rights Reserved. &MPRVFOUͷ$PMMFDUJPOϝιουઆ໌ 2018/10/30 15 ɾFYDFQU

    LFZT $PMMFDUJPO ˠࢦఆͨ͠1SJNBSZ,FZʹҰகͨ͠.PEFMΛऔΓআ͍ͯऔಘ͢Δ
  16. Copyright© Nextat Inc. All Rights Reserved. ؾΛ͚ͭΔ͜ͱ 2018/10/30 16 ɾQMVDL

    ɾLFZT ɾ[JQ ɾDPMMBQTF ɾGMBUUFO ɾGMJQ ɾQBE ˠ্ه͸ඞͣ͠΋.PEFM͕ม͑ΔΘ͚Ͱ͸ͳ͍ͨΊɺ 4VQQPSU$PMMFDUJPO͕ฦ͖ͬͯ·͢ ɾNBQ DBMMBCMFDBMMCBDL  ˠؔ਺ͷSFUVSO஋ʹ.PEFMΠϯελϯεͰ͸ͳ͍΋ͷΛฦ͢ͱ 4VQQPSU$PMMFDUJPO͕ฦ͖ͬͯ·͢
  17. Copyright© Nextat Inc. All Rights Reserved. ·ͱΊ ▪ &MPRVFOU$PMMFDUJPO͸.PEFMϕʔεͷ$PMMFDUJPO ▪

    .PEFMʹؔ͢Δૢ࡞ʹಛԽͨ͠ศརͳϝιου͕༻ҙ͞Ε͍ͯΔ ▪ &MPRVFOU$PMMFDUJPOͱࢥͬͨΒ4VQQPSU$PMMFDUJPOʹมΘ͍ͬͯ Δ͜ͱ͕͋ΔͷͰܕࢦఆʹ஫ҙ 2018/10/30 17 ྑ͍CollectionਥϥΠϑΛ!(স)
  18. Copyright© Nextat Inc. All Rights Reserved. ΤϯδχΞืू ▪ -BSBWFM ▪

    7VF"OHVMBS3FBDU ▪ ήʔϜ։ൃ8FCΞϓϦέʔγϣϯ։ൃ ڵຯ͕͋Δํ͸ɺੋඇ8BOUFEMZ͔ΒԠื͍ͩ͘͞ ʲ։ൃʹͱ͜ͱΜूதͰ͖Δࣗ༝ͳಇ͖ํ͕͍ͨ͠ϓϩάϥϚʔ8"/5&%ʳ IUUQTXXXXBOUFEMZDPNQSPKFDUT 2018/10/30 18