Solar_Registry::set()

static public void Solar_Registry::set ( string $name , object|string $spec , mixed $config = NULL )

Registers an object under a unique name.

Parameters

  • (string) $name: The name under which to register the object.

  • (object|string) $spec: The registry specification.

  • (mixed) $config: If lazy-loading, use this as the config.

Returns

  • (void)

Description

Registers an object under a unique name.



Local