Subversion-Projekte lars-tiefland.laravel_shop

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
148 lars 1
<?php
2
 
3
use Mockery\Matcher\AndAnyOtherArgs;
4
use Mockery\Matcher\AnyArgs;
5
 
6
/**
7
 * Mockery
8
 *
9
 * LICENSE
10
 *
11
 * This source file is subject to the new BSD license that is bundled
12
 * with this package in the file LICENSE.txt.
13
 * It is also available through the world-wide-web at this URL:
14
 * http://github.com/padraic/mockery/blob/master/LICENSE
15
 * If you did not receive a copy of the license and are unable to
16
 * obtain it through the world-wide-web, please send an email
17
 * to padraic@php.net so we can send you a copy immediately.
18
 *
19
 * @category   Mockery
20
 * @package    Mockery
21
 * @copyright  Copyright (c) 2016 Dave Marshall
22
 * @license    http://github.com/padraic/mockery/blob/master/LICENSE New BSD License
23
 */
24
 
25
if (!function_exists("mock")) {
26
    function mock(...$args)
27
    {
28
        return Mockery::mock(...$args);
29
    }
30
}
31
 
32
if (!function_exists("spy")) {
33
    function spy(...$args)
34
    {
35
        return Mockery::spy(...$args);
36
    }
37
}
38
 
39
if (!function_exists("namedMock")) {
40
    function namedMock(...$args)
41
    {
42
        return Mockery::namedMock(...$args);
43
    }
44
}
45
 
46
if (!function_exists("anyArgs")) {
47
    function anyArgs()
48
    {
49
        return new AnyArgs();
50
    }
51
}
52
 
53
if (!function_exists("andAnyOtherArgs")) {
54
    function andAnyOtherArgs()
55
    {
56
        return new AndAnyOtherArgs();
57
    }
58
}
59
 
60
if (!function_exists("andAnyOthers")) {
61
    function andAnyOthers()
62
    {
63
        return new AndAnyOtherArgs();
64
    }
65
}