find_where( self::ID_CONDITION, $link_id ); } public function find_where( string $condition, int|string ...$values ): Link|null { $row = $this->query_runner->row( $this->query_runner->prepare( 'SELECT ' . $this->tables->link_columns() . ' FROM ' . $this->tables->links() . ' links WHERE ' . $condition, ...$values ) ); return null === $row ? null : $this->link_row_mapper->to_link( $row ); } }