コード例 #1
0
ファイル: PropsImmutableException.php プロジェクト: jasir/Ra
 /**
  * PropsImmutableException constructor.
  * @param string $string
  */
 public function __construct($string)
 {
     parent::__construct('Props are immutable');
 }
コード例 #2
0
ファイル: PropNotFoundException.php プロジェクト: jasir/Ra
 public function __construct($name, array $props, array $computed)
 {
     $message = "Prop '{$name}' not exits, available:  " . $this->availablePropsMessage($props, $computed);
     parent::__construct($message);
 }