GraphQL\Examples\Blog\Type\UserType::lastStoryPosted PHP Method

lastStoryPosted() public method

public lastStoryPosted ( User $user )
$user GraphQL\Examples\Blog\Data\User
    public function lastStoryPosted(User $user)
    {
        return DataSource::findLastStoryFor($user->id);
    }