src/Squid/MySql/Impl/Connectors/FileConnector.php
public function execute($path)
	{
		if (!file_exists($path) || !is_readable($path))
			throw new SquidException("The file at [$path] is unreadable or doesn't exists");
		
		$data = file_get_contents($path);
		
		$result = $this->connector
			->bulk()
			->add($data)
			->executeAll();
		
		return (bool)$result;
	}
public function execute($path)
	{
		if (!file_exists($path) || !is_readable($path))
			throw new SquidException("The file at [$path] is unreadable or doesn't exists");
		
		$data = file_get_contents($path);
		
		$result = $this->connector
			->bulk()
			->add($data)
			->executeAll();
		
		return (bool)$result;
	}
Execute the entire file. On error the execution is aborted.
@param string $path Full path to the file.
@return bool