src/Flatline/Auth/MongolUserProvider.php
public function retrieveByID($identifier)
    {
        $user = $this->conn->{$this->table}->findOne(array('_id' => new \MongoId($identifier)));

        if ( ! is_null($user))
        {
            return new MongolUser((array) $user);
        }
    }
public function retrieveByID($identifier)
    {
        $user = $this->conn->{$this->table}->findOne(array('_id' => new \MongoId($identifier)));

        if ( ! is_null($user))
        {
            return new MongolUser((array) $user);
        }
    }
public function retrieveByID ( $ identifier ) { $ user = $ this -> conn -> { $ this -> table } -> findOne ( array ( '_id' => new \ MongoId ( $ identifier ) ) ) ; if ( ! is_null ( $ user ) ) { return new MongolUser ( ( array ) $ user ) ; } }
Retrieve a user by their unique idenetifier.

@param  mixed  $identifier
@return Illuminate\Auth\UserInterface|null
Retrieve a user by their unique idenetifier .