for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Contains class Invokable.
*
* PHP version 5.5
* LICENSE:
* This file is part of Yet Another Php Eve Api Library also know as Yapeal
* which can be used to access the Eve Online API data and place it into a
* database.
* Copyright (C) 2016 Michael Cummings
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by the
* Free Software Foundation, either version 3 of the License, or (at your
* option) any later version.
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
* for more details.
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see
* <http://www.gnu.org/licenses/>.
* You should be able to find a copy of this license in the LICENSE.md file. A
* copy of the GNU GPL should also be available in the GNU-GPL.md file.
* @copyright 2016 Michael Cummings
* @license LGPL-3.0+
* @author Michael Cummings <[email protected]>
*/
namespace Spec\Yapeal;
* Class Invokable.
class Invokable
{
public function __invoke($value = null)
$service = new MockService();
$service->value = $value;
return $service;
}