src/VDB/Spider/Discoverer/DiscovererSet.php
public function set(DiscovererInterface $discoverer, $alias = null)
    {
        $this->discoverers[$discoverer->getName()] = $discoverer;
        if (null !== $alias) {
            $this->discoverers[$alias] = $discoverer;
        }
    }
public function set(DiscovererInterface $discoverer, $alias = null)
    {
        $this->discoverers[$discoverer->getName()] = $discoverer;
        if (null !== $alias) {
            $this->discoverers[$alias] = $discoverer;
        }
    }
public function set ( DiscovererInterface $ discoverer , $ alias = null ) { $ this -> discoverers [ $ discoverer -> getName ( ) ] = $ discoverer ; if ( null !== $ alias ) { $ this -> discoverers [ $ alias ] = $ discoverer ; } }
Sets a discoverer.

@param discovererInterface $discoverer The discoverer instance
@param string|null         $alias  An alias
Sets a discoverer .