Isswp101\Persimmon\Exceptions\ParentModelNotFoundException::__construct PHP Method

__construct() public method

public __construct ( $class, $id )
    public function __construct($class, $id)
    {
        $reflection = new ReflectionClass($class);
        $model = $reflection->getShortName();
        $message = sprintf('Model `%s` not found by id `%s`. Try to set parent id in your model or use inner_hits feature.', $model, $id);
        parent::__construct($message);
    }
ParentModelNotFoundException