public function transform($value)
    {
        if (null === $value) {
            return '';
        }

        if (!$this->mask) {
            return $value;
        }

        return str_repeat($this->maskSymbol, $this->maskLength);
    }
public function transform($value)
    {
        if (null === $value) {
            return '';
        }

        if (!$this->mask) {
            return $value;
        }

        return str_repeat($this->maskSymbol, $this->maskLength);
    }
public function transform ( $ value ) { if ( null === $ value ) { return '' ; } if ( ! $ this -> mask ) { return $ value ; } return str_repeat ( $ this -> maskSymbol , $ this -> maskLength ) ; }
Transforms a password type into mask symbol.

@param string $value

@return string
Transforms a password type into mask symbol .