/** * Checks a path that could be used with ImagineInterface::open and returns * a proper string. * * @param string|object $path * * @return string * * @throws InvalidArgumentException In case the given path is invalid. */ protected static function checkPath($path) { return static::$instance->checkPath($path); }