src/External/SimplePay/Provider.php
public function setType($type)
    {
      if(!is_string($type) || strlen(trim($type)) == 0)
        throw new InvalidArgumentException(__METHOD__ . '; Invalid type, must be a non empty string');

      $this->type = $type;
    }
public function setType($type)
    {
      if(!is_string($type) || strlen(trim($type)) == 0)
        throw new InvalidArgumentException(__METHOD__ . '; Invalid type, must be a non empty string');

      $this->type = $type;
    }
public function setType ( $ type ) { if ( ! is_string ( $ type ) || strlen ( trim ( $ type ) ) == 0 ) throw new InvalidArgumentException ( __METHOD__ . '; Invalid type, must be a non empty string' ) ; $ this -> type = $ type ; }
Set type of this Provider

@param string $type
@return void
Set type of this Provider