phpDocumentor Developer
[ class tree: Developer ] [ index: Developer ] [ all elements ]

Class: DeviceFactory

Source Location: /core/DeviceFactory.php

Class DeviceFactory

Class Overview

This factory instantiates a device module and makes it available in its member $device.

Located in /core/DeviceFactory.php [line 32]



		
				Author(s):
		
		
		
Information Tags:

Properties

Methods

[ Top ]
Property Summary
DeviceConfig   $device   Contains the produced device instance

[ Top ]
Method Summary
DeviceFactory   __construct()   The constructor of the device factory.

[ Top ]
Properties
DeviceConfig   $device [line 38]

Contains the produced device instance

API Tags:
Access:  public


[ Top ]
Methods
Constructor __construct  [line 46]

  DeviceFactory __construct( string $blueprint  )

The constructor of the device factory.

Needs to be fed with the correct blueprint to produce a device

Parameters:
string   $blueprint:  The name of the module to instantiate

API Tags:
Access:  public


[ Top ]

Documentation generated on Thu, 16 Apr 2015 10:26:07 +0000 by phpDocumentor 1.4.4