Overview

Namespaces

  • PHP
  • XSLTBenchmarking
    • Reports
    • RunnerConsole
    • TestsGenerator
    • TestsRunner

Classes

  • DriversContainer
  • Factory
  • Microtime
  • Printer

Exceptions

  • CollisionException
  • Exception
  • GenerateTemplateException
  • GenerateXmlException
  • InvalidArgumentException
  • InvalidStateException
  • LongLoopException
  • UnknownMethodException
  • Overview
  • Namespace
  • Class
  • Tree
  • Todo

Class DriversContainer

Class for better work with drivers.

Direct Known Subclasses

XSLTBenchmarking\Reports\Convertor, XSLTBenchmarking\TestsGenerator\Params, XSLTBenchmarking\TestsGenerator\Templating, XSLTBenchmarking\TestsGenerator\XmlGenerator, XSLTBenchmarking\TestsRunner\MemoryUsage, XSLTBenchmarking\TestsRunner\Params
Abstract Class
Namespace: XSLTBenchmarking
Author: Viktor Mašíček <viktor@masicek.net>
Located at DriversContainer.php
Methods summary
public
# __construct( )
Save arguments for pass into each driver

Save arguments for pass into each driver

public this
# setDriver( string $driverName )
Make new object of driver selected by name.

Make new object of driver selected by name.

Parameters

$driverName
string
Name of driver for using

Returns

this
public mix
# __call( string $name, array $arguments )
Call drivers method.

Call drivers method.

Parameters

$name
string
Name of method
$arguments
array
List of arguments for calling method

Returns

mix

Throws

XSLTBenchmarking\UnknownMethodException
Unknown method on set driver
protected string
# getDriversDirectory( )
Return directory containing drivers.

Return directory containing drivers.

Returns

string
protected string
# getDriversNamespace( )
Return namespace of drivers

Return namespace of drivers

Returns

string
protected string
# getDriversNamesSuffix( )
Return drivers suffix of name

Return drivers suffix of name

Returns

string
Properties summary
protected IDriver|ADriver $driver NULL
#
Instance of selected driver

Instance of selected driver

XSTL Benchmarking API documentation generated by ApiGen.
Generated using the TokenReflection library.