PHP Classes

File: src/Plugin/ResponsePluginInterface.php

Recommend this page to a friend!
  Packages of Thierry Feuzeu   Jaxon   src/Plugin/ResponsePluginInterface.php   Download  
File: src/Plugin/ResponsePluginInterface.php
Role: Class source
Content type: text/plain
Description: Class source
Class: Jaxon
Call PHP classes from JavaScript using AJAX
Author: By
Last change:
Date: 4 months ago
Size: 424 bytes
 

Contents

Class file image Download
<?php

namespace Jaxon\Plugin;

use
Jaxon\Response\AbstractResponse;

interface
ResponsePluginInterface
{
   
/**
     * Get the attached response
     *
     * @return AbstractResponse|null
     */
   
public function response(): ?AbstractResponse;

   
/**
     * @param AbstractResponse $xResponse The response
     *
     * @return static
     */
   
public function initPlugin(AbstractResponse $xResponse): static;
}