PHP code example of carlosv2 / dumbsmart-repositories-bundle
1. Go to this page and download the library: Download carlosv2/dumbsmart-repositories-bundle library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
carlosv2 / dumbsmart-repositories-bundle example snippets
// app/AppKernel.php
// ...
class AppKernel extends Kernel
{
public function registerBundles()
{
$bundles = array(
// ...
new carlosV2\DumbsmartRepositoriesBundle\DumbsmartRepositoriesBundle(),
);
// ...
}
// ...
}
<service id="class.repository"
class="Everzet\PersistedObjects\Repository">
<factory service="dumbsmart_repositories.front_repository_factory" method="getRepository" />
<argument>class</argument>
</service>