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

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

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

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