<commit_before><?php

namespace vakata\orm;

interface TableInterface extends \Iterator, \ArrayAccess, \Countable, \JsonSerializable
{
    public function getDatabase();
    public function getDefinition();

    public function getRelations();
    public function getRelationKeys();

    public function hasOne($to_table, $name = null, $to_table_column = null);
    public function hasMany($to_table, $name = null, $to_table_column = null);
    public function belongsTo($to_table, $name = null, $to_table_column = null);
    public function manyToMany($to_table, $pivot, $name = null, $to_table_column = null, $local_column = null);

    public function select($limit = 0, $offset = 0, array $fields = null);
    public function where($sql, array $params = []);
    public function order($order, $raw = false);

    public function filter($column, $value);

    public function count();
    public function reset();

    public function toArray($full = true);

    public function create(array $data = []);
    public function save(array $data = []);
    public function delete();
}<commit_msg>fixing camelCase in TableInterface.php<commit_after><?php

namespace vakata\orm;

interface TableInterface extends \Iterator, \ArrayAccess, \Countable, \JsonSerializable
{
    public function getDatabase();
    public function getDefinition();

    public function getRelations();
    public function getRelationKeys();

    public function hasOne($toTable, $name = null, $toTableColumn = null);
    public function hasMany($toTable, $name = null, $toTableColumn = null);
    public function belongsTo($toTable, $name = null, $toTableColumn = null);
    public function manyToMany($toTable, $pivot, $name = null, $toTableColumn = null, $local_column = null);

    public function select($limit = 0, $offset = 0, array $fields = null);
    public function where($sql, array $params = []);
    public function order($order, $raw = false);

    public function filter($column, $value);

    public function count();
    public function reset();

    public function toArray($full = true);

    public function create(array $data = []);
    public function save(array $data = []);
    public function delete();
}
{'fraction_non_alphanumeric': 0.12210621879255561, 'fraction_numerical': 0.0018157058556513845, 'mean_word_length': 4.336561743341404, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7354496', 'n_tokens_mistral': 612, 'n_tokens_neox': 591, 'n_words': 197}