RunMyBusiness\Initialcon\Initialcon::setIdentifier PHP Метод

setIdentifier() публичный Метод

Generate a hash fron the identifier.
public setIdentifier ( $identifier ) : Initialcon
Результат Initialcon
    public function setIdentifier($identifier)
    {
        if (null === $identifier) {
            throw new \Exception('The identifier cannot be null.');
        }
        $this->hash = md5($identifier);
        $this->convertHashToArrayOfBoolean();
        return $this;
    }