final public function build()
    {
        $arguments = func_get_args();
        $filename = array_shift($arguments);

        $className = $this->buildClassNameByFileName($filename);

        $ib = new InstanceBuilder();
        return $ib->build($className, $arguments);
    }
final public function build()
    {
        $arguments = func_get_args();
        $filename = array_shift($arguments);

        $className = $this->buildClassNameByFileName($filename);

        $ib = new InstanceBuilder();
        return $ib->build($className, $arguments);
    }
final public function build ( ) { $ arguments = func_get_args ( ) ; $ filename = array_shift ( $ arguments ) ; $ className = $ this -> buildClassNameByFileName ( $ filename ) ; $ ib = new InstanceBuilder ( ) ; return $ ib -> build ( $ className , $ arguments ) ; }
Builds an instance
Heavily relies on PSR-0 autoloader

@param string $filename (Without extension and base path)
@param mixed $arguments [...]
@throws \RuntimeException if cannot load a class
@return object
Builds an instance Heavily relies on PSR - 0 autoloader