WithUser.php 573 Bytes
<?php

namespace FootyRoom\Queries\Comment;

trait WithUser
{
    /**
     * @var bool
     */
    protected $withUserInfo = false;

    /**
     * Gets the value of withUserInfo.
     *
     * @return bool
     */
    public function getWithUserInfo()
    {
        return $this->withUserInfo;
    }

    /**
     * Sets the value of withUserInfo.
     *
     * @param bool $withUserInfo the with user info
     *
     * @return self
     */
    public function withUserInfo($withUserInfo)
    {
        $this->withUserInfo = $withUserInfo;

        return $this;
    }
}