<?php trait OrmFindMethods { public static function find_by($conditions) { $options = static::build_options($conditions); return static::find('first', $options); } public static function find_all($conditions = [], $limit = null, $offset = null) { $options = static::build_options($conditions, $limit, $offset); return static::find('all', $options); } protected static function build_options($conditio