src/acdhOeaw/schema/dissemination/Service.php
public function addMatch(string $property, string $value, bool $required) {
        $id              = $this->getid() . '/match/' . (count($this->matches) + 1);
        $this->matches[] = new Match($this->fedora, $id, $this, $property, $value, $required);
    }
public function addMatch(string $property, string $value, bool $required) {
        $id              = $this->getid() . '/match/' . (count($this->matches) + 1);
        $this->matches[] = new Match($this->fedora, $id, $this, $property, $value, $required);
    }
public function addMatch ( string $ property , string $ value , bool $ required ) { $ id = $ this -> getid ( ) . '/match/' . ( count ( $ this -> matches ) + 1 ) ; $ this -> matches [ ] = new Match ( $ this -> fedora , $ id , $ this , $ property , $ value , $ required ) ; }
Defines a matching rule for the dissemination service
@param string $property RDF property to be checked in resource's metadata
@param string $value expected RDF property value in resource's metadata
@param bool $required is this match rule compulsory?
@see \acdhOeaw\schema\dissemination\Match
Defines a matching rule for the dissemination service