public function authorizeEcho(AnCommandContext $context)
    {
        $actor = $context->actor;

        if ($actor->isAdministrable() && $actor->authorize('administration')) {
            return true;
        } else {
            return $actor->id == $context->viewer->id;
        }
    }
public function authorizeEcho(AnCommandContext $context)
    {
        $actor = $context->actor;

        if ($actor->isAdministrable() && $actor->authorize('administration')) {
            return true;
        } else {
            return $actor->id == $context->viewer->id;
        }
    }
public function authorizeEcho ( AnCommandContext $ context ) { $ actor = $ context -> actor ; if ( $ actor -> isAdministrable ( ) && $ actor -> authorize ( 'administration' ) ) { return true ; } else { return $ actor -> id == $ context -> viewer -> id ; } }
Authorizes echo.

@param AnCommandContext $context

@return false
Authorizes echo .