Code Coverage
 
Classes and Traits
Functions and Methods
Lines
Total
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
CRAP
100.00% covered (success)
100.00%
2 / 2
AdapterFactory
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
100.00% covered (success)
100.00%
2 / 2
 build($adapterName)
100.00% covered (success)
100.00%
1 / 1
1
100.00% covered (success)
100.00%
2 / 2
<?php
/**
 *
 */
namespace aae\persistence {
    /**
     * @author Axel Ancona Esselmann
     * @package aae\persistence
     */
    class AdapterFactory {
        
    
        /**
         * __functionDescription__
         * @param __type__ __parameterDescription__
         */
        public function build($adapterName) {
            $adapter = new $adapterName();
            return $adapter;
        }
    }
}