public function __construct(Connection $connection) { $this->connection = $connection; $this->grammar = $connection->getMapGrammar(); }