Login   Register  
PHP Classes
elePHPant
Icontem

File: tests/fixtures/select_NewNS.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Devis Lucato  >  Select  >  tests/fixtures/select_NewNS.php  >  Download  
File: tests/fixtures/select_NewNS.php
Role: Unit test script
Content type: text/plain
Description: unit tests
Class: Select
Locate classes that provide named services
Author: By
Last change:
Date: 3 years ago
Size: 504 bytes
 

Contents

Class file image Download
<?php

namespace App;

class 
Builder extends \Select {
    const 
DEFAULT_NAMESPACE 'App\\';
    
    static protected 
$_namespace self::DEFAULT_NAMESPACE;
}

class 
Numbers {
    
    public 
$series;
    
    public 
$domain;
    
    public function 
__construct() {
        
$this->series func_get_args();
    }
    
    public function 
reset() {
        
$this->domain '';
        
$this->series = array();
    }
    
    public function 
setDomain($domain) {
        
$this->domain $domain;
    }
}