src/Snide/Osrc/Client.php
public function fetchUser(User $user)
    {
        $response = $this->getResponse(
            sprintf('%s.json',
                $user->getUsername()
            )
        );

        return $this->hydrator->hydrate($user, $response);
    }
public function fetchUser(User $user)
    {
        $response = $this->getResponse(
            sprintf('%s.json',
                $user->getUsername()
            )
        );

        return $this->hydrator->hydrate($user, $response);
    }
public function fetchUser ( User $ user ) { $ response = $ this -> getResponse ( sprintf ( '%s.json' , $ user -> getUsername ( ) ) ) ; return $ this -> hydrator -> hydrate ( $ user , $ response ) ; }
Fetch data from User URL

@param Model\User $user
@return Model\User
Fetch data from User URL