This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm info it worked if it ends with ok | |
npm verb cli [ '/usr/local/Cellar/node/4.1.2/bin/node', | |
npm verb cli '/usr/local/bin/npm', | |
npm verb cli 'i', | |
npm verb cli 'laravel-elixir', | |
npm verb cli '--loglevel=silly' ] | |
npm info using npm@2.14.6 | |
npm info using node@v4.1.2 | |
npm verb install initial load of /Users/kfir/code/Receipto/package.json | |
npm verb installManyTop reading scoped package data from /Users/kfir/code/Receipto/node_modules/debug.log/package.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App; | |
trait CanBeFollowed | |
{ | |
public function isFollowedBy($user) | |
{ | |
if ($this->relationLoaded('followers')) { | |
return $this->followers->first(function ($follower) use ($user) { |