File: vendor/hamcrest/hamcrest-php/generator/FactoryCall.php

Recommend this page to a friend!
  Classes of Renato De Oliveira Lucena  >  PHP Pokemon Script  >  vendor/hamcrest/hamcrest-php/generator/FactoryCall.php  >  Download  
File: vendor/hamcrest/hamcrest-php/generator/FactoryCall.php
Role: Class source
Content type: text/plain
Description: Class source
Class: PHP Pokemon Script
Provides an API to manage a database of Pokemons
Author: By
Last change:
Date: 2 years ago
Size: 611 bytes
 

Contents

Class file image Download
<?php

/*
 Copyright (c) 2009 hamcrest.org
 */

class FactoryCall
{
   
/**
     * Hamcrest standard is two spaces for each level of indentation.
     *
     * @var string
     */
   
const INDENT = ' ';

   
/**
     * @var FactoryMethod
     */
   
private $method;

   
/**
     * @var string
     */
   
private $name;

    public function
__construct(FactoryMethod $method, $name)
    {
       
$this->method = $method;
       
$this->name = $name;
    }

    public function
getMethod()
    {
        return
$this->method;
    }

    public function
getName()
    {
        return
$this->name;
    }
}


For more information send a message to info at phpclasses dot org.