Koowa_Object
[ class tree: Koowa_Object ] [ index: Koowa_Object ] [ all elements ]

Class: KObjectServiceable

Source Location: /libraries/koowa/object/serviceable.php

Interface Overview


Object Serviceable Interface


Author(s):

Methods



Class Details

[line 15]
Object Serviceable Interface



Tags:

author:  Johan Janssens <johan@nooku.org>


[ Top ]


Class Methods


method getIdentifier [line 34]

KServiceIdentifier getIdentifier( [string|object $identifier = null])

Get a service identifier.



Tags:

access:  public


Parameters:

string|object   $identifier   The class identifier or identifier object

[ Top ]

method getService [line 26]

object Return getService( string|object $identifier, [ $config = array()])

Get an instance of a class based on a class identifier only creating it if it doesn't exist yet.



Tags:

return:  object on success, throws exception on failure
throws:  KObjectException
access:  public


Parameters:

string|object   $identifier   The class identifier or identifier object
array   $config   An optional associative array of configuration settings.

[ Top ]


Documentation generated on Thu, 23 May 2013 03:03:19 +0200 by phpDocumentor 1.4.3