public function setBuild(array $identifiers)
    {
        foreach ($identifiers as $identifier) {
            if (!Validator::isIdentifier($identifier)) {
                throw new InvalidIdentifierException($identifier);
            }
        }

        $this->build = $identifiers;

        return $this;
    }
public function setBuild(array $identifiers)
    {
        foreach ($identifiers as $identifier) {
            if (!Validator::isIdentifier($identifier)) {
                throw new InvalidIdentifierException($identifier);
            }
        }

        $this->build = $identifiers;

        return $this;
    }
public function setBuild ( array $ identifiers ) { foreach ( $ identifiers as $ identifier ) { if ( ! Validator :: isIdentifier ( $ identifier ) ) { throw new InvalidIdentifierException ( $ identifier ) ; } } $ this -> build = $ identifiers ; return $ this ; }
Sets the build metadata identifiers.

@param array $identifiers The build metadata identifiers.

@return Builder The Version builder.

@throws InvalidIdentifierException If an identifier is invalid.
Sets the build metadata identifiers .