src/Specification.php
public function idIsDuplicate(string $id) : bool
    {
        $id = strtolower($id);
        return isset($this->byId[$id]) && count($this->byId[$id]) > 1; 
    }
public function idIsDuplicate(string $id) : bool
    {
        $id = strtolower($id);
        return isset($this->byId[$id]) && count($this->byId[$id]) > 1; 
    }
public function idIsDuplicate ( string $ id ) : bool { $ id = strtolower ( $ id ) ; return isset ( $ this -> byId [ $ id ] ) && count ( $ this -> byId [ $ id ] ) > 1 ; }
Tells whether there is more than one requirement identified by the id.
If there are none, this returns false.
@param  string $id
@return bool
Tells whether there is more than one requirement identified by the id . If there are none this returns false .