protected function _namespaces()
{
return Filter::on($this, 'namespaces', [], function ($chain) {
$paths = $this->commandLine()->get('spec');
foreach ($paths as $path) {
$path = realpath($path);
$namespace = basename($path) . '\\';
$this->autoloader()->add($namespace, dirname($path));
}
});
}