clients/kratos/php/lib/Api/PublicApi.php
/**
     * Operation whoami
     *
     * Check who the current HTTP session belongs to
     *
     *
     * @throws \Ory\Kratos\Client\ApiException on non-2xx response
     * @throws \InvalidArgumentException
     * @return \Ory\Kratos\Client\Model\Session|\Ory\Kratos\Client\Model\GenericError|\Ory\Kratos\Client\Model\GenericError
     */
Operation whoami
Check who the current HTTP session belongs to


Operation whoami Check who the current HTTP session belongs to
public function whoami()
    {
        list($response) = $this->whoamiWithHttpInfo();
        return $response;
    }
public function whoami ( ) { list ( $ response ) = $ this -> whoamiWithHttpInfo ( ) ; return $ response ; }
Operation whoami
 Check who the current HTTP session belongs to
Operation whoami Check who the current HTTP session belongs to