PHP Class Jackalope\RepositoryFactoryJackrabbit

Use repository factory based on parameters (the parameters below are examples):
   $parameters = array('jackalope.jackrabbit_uri' => 'http://localhost:8080/server/');
   $factory = new \Jackalope\RepositoryFactoryJackrabbit;
   $repo = $factory->getRepository($parameters);
Inheritance: implements PHPCR\RepositoryFactoryInterface
Show file Open project: jackalope/jackalope-jackrabbit Class Usage Examples

Public Methods

Method Description
getConfigurationKeys ( ) {@inheritDoc}
getRepository ( array $parameters = null ) Get a repository connected to the jackrabbit backend specified in the parameters.

Method Details

getConfigurationKeys() public method

{@inheritDoc}

getRepository() public method

{@inheritDoc} Jackrabbit repositories have no default repository, passing null as parameters will always return null.
public getRepository ( array $parameters = null )
$parameters array