public function import($file, array $data = [])
{
$data = Arr::except($data, ['__path', '__dir', '__compiler', '__data', '__serversOnly', '__envoyPath', '__container', 'this']);
if (($path = $this->resolveImportPath($file)) === false) {
throw new InvalidArgumentException("Unable to locate file: [{$file}].");
}
$this->load($path, new Compiler(), $data);
}