PHP Classes

File: tests/src/Ns/Lib/Service.php

Recommend this page to a friend!
  Packages of Thierry Feuzeu   Jaxon   tests/src/Ns/Lib/Service.php   Download  
File: tests/src/Ns/Lib/Service.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: 1 year ago
Size: 496 bytes
 

Contents

Class file image Download
<?php

namespace Jaxon\Tests\Ns\Lib;

class Service implements ServiceInterface
{
    /**
     * @var string
     */
    private $source;

    public function __construct(array $config)
    {}

    public function action()
    {}

    /**
     * @return string
     */
    public function getSource(): string
    {
        return $this->source;
    }

    /**
     * @param string $source
     */
    public function setSource(string $source): void
    {
        $this->source = $source;
    }
}