Method | Description | |
---|---|---|
__construct ( mixed $entity = null ) | The service provider constructor sets the entity to use with vars | |
boot ( Silex\Application $app ) | The silex service provider boot function | |
register ( Silex\Application $app ) | Registers the service provider, sets the user defined options and returns the vars instance |
Method | Description | |
---|---|---|
createKeyedOptions ( array $options, array $vars_options ) : array | Registers the service provider, sets the user defined options and returns the vars instance | |
createOptions ( Silex\Application $app ) : array | Creates the defined options into a way that Vars can use |
public __construct ( mixed $entity = null ) | ||
$entity | mixed | The entity |
public boot ( Silex\Application $app ) | ||
$app | Silex\Application | The silex app |
public register ( Silex\Application $app ) | ||
$app | Silex\Application | The silex app |