<commit_before>About
=====
Provides a minimalistic dependency injection container.

Example
-------
	interface MailerInterface {}

	class Mailer implements MailerInterface {
		protected $_transport;

		public function __construct(MailerTransportInterface $transport) {
			$this->_transport = $transport;
		}
	}

	interface MailerTransportInterface {}

	class MailerTransport implements MailerTransportInterface {
		protected $_host;
		protected $_port;

		public function __construct($host, $port) {
			$this->_host = $host;
			$this->_port = $port;
		}
	}

	$config = array(
		'mailer.transport' => array(
			'localhost',
			25
		)
	);

	$di = new DCP\Di\Container();

	$di->bind('MailerInterface')
		->to('Mailer');

	//Register MailerTransportInterface dependencies as a shared MailerTransport instance
	$di->bind('MailerTransportInterface')
		->to('MailerTransport')
		->setArguments($config['mailer.transport'])
		->asSingleton();

	var_dump($di->get('MailerInterface'));<commit_msg>Updated README file to include PHP syntax highlighting.<commit_after>About
=====
Provides a minimalistic dependency injection container.

Example
-------
```php
interface MailerInterface {}

class Mailer implements MailerInterface {
	protected $_transport;

	public function __construct(MailerTransportInterface $transport) {
		$this->_transport = $transport;
	}
}

interface MailerTransportInterface {}

class MailerTransport implements MailerTransportInterface {
	protected $_host;
	protected $_port;

	public function __construct($host, $port) {
		$this->_host = $host;
		$this->_port = $port;
	}
}

$config = array(
	'mailer.transport' => array(
		'localhost',
		25
	)
);

$di = new DCP\Di\Container();

$di->bind('MailerInterface')
	->to('Mailer');

//Register MailerTransportInterface dependencies as a shared MailerTransport instance
$di->bind('MailerTransportInterface')
	->to('MailerTransport')
	->setArguments($config['mailer.transport'])
	->asSingleton();

var_dump($di->get('MailerInterface'));
```
{'fraction_non_alphanumeric': 0.13963963963963963, 'fraction_numerical': 0.002002002002002002, 'mean_word_length': 5.169753086419753, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 25, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6128798', 'n_tokens_mistral': 628, 'n_tokens_neox': 580, 'n_words': 135}