PHP code example of baks-dev / reference-color

1. Go to this page and download the library: Download baks-dev/reference-color 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/ */

    

baks-dev / reference-color example snippets

 php


namespace Symfony\Component\DependencyInjection\Loader\Configurator;

use BaksDev\Reference\Color\Choice\ReferenceChoiceColor;

return static function (ContainerConfigurator $configurator) {
	
	$services = $configurator->services()
            ->defaults()
            ->autowire(true)
            ->autoconfigure(true)
	;

	$services
            ->set(ReferenceChoiceColor::class)
            ->tag('baks.reference.choice')
	;
};