Subversion-Projekte lars-tiefland.laravel_shop

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
148 lars 1
<?php
2
 
3
/*
4
 Copyright (c) 2009 hamcrest.org
5
 */
6
 
7
class FactoryCall
8
{
9
    /**
10
     * Hamcrest standard is two spaces for each level of indentation.
11
     *
12
     * @var string
13
     */
14
    const INDENT = '    ';
15
 
16
    /**
17
     * @var FactoryMethod
18
     */
19
    private $method;
20
 
21
    /**
22
     * @var string
23
     */
24
    private $name;
25
 
26
    public function __construct(FactoryMethod $method, $name)
27
    {
28
        $this->method = $method;
29
        $this->name = $name;
30
    }
31
 
32
    public function getMethod()
33
    {
34
        return $this->method;
35
    }
36
 
37
    public function getName()
38
    {
39
        return $this->name;
40
    }
41
}