__construct() public method

public __construct ( $msg )
 /**
  * InvalidConsumerClassException constructor.
  *
  * @param string $consumerServiceId service id requires the cryptor
  * @param string $consumerClass     class of the service that requires the cryptor
  * @param string $interface         interface must be implemented by consumer service
  */
 public function __construct($consumerServiceId, $consumerClass, $interface)
 {
     parent::__construct(sprintf("Cannot inject cryptor for service '%s'. Consumer definition class '%s' must implement '%s' interface", $consumerServiceId, $consumerClass, $interface));
 }
 /**
  * CryptorNotFoundException constructor.
  *
  * @param string $consumerServiceId service id requires the cryptor
  * @param string $name              name of the cryptor required
  */
 public function __construct($consumerServiceId, $name)
 {
     parent::__construct(sprintf("Cannot find cryptor definition for service '%s' by name '%s'", $consumerServiceId, $name));
 }