PHP code example of ruano_a / reload-annotation-bundle

1. Go to this page and download the library: Download ruano_a/reload-annotation-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/ */

    

ruano_a / reload-annotation-bundle example snippets


if (in_array($env, ['dev', 'test'])) {
    ...
    if ($env === 'test') {
        $bundles[] = new ruano_a\ReloadAnnotationBundle\ReloadAnnotationBundle();
    }
}