src/DS/Exception/InvalidArgumentException.php
public static function make($data, string $reason, ?\Throwable $previous = null): self
    {

        $message = self::buildMessage($data, $reason);

        return new static($message, $previous);
    }
public static function make($data, string $reason, ?\Throwable $previous = null): self
    {

        $message = self::buildMessage($data, $reason);

        return new static($message, $previous);
    }
public static function make ( $ data , string $ reason , ? \ Throwable $ previous = null ) : self { $ message = self :: buildMessage ( $ data , $ reason ) ; return new static ( $ message , $ previous ) ; }
InvalidItemException named constructor.

@param mixed           $data
@param string          $reason
@param null|\Throwable $previous

@return \PlanB\DS\Exception\InvalidArgumentException
InvalidItemException named constructor .