public function testGetUnknownField() { $meta = new Meta('MyApp\\Models\\User'); $this->assertNull($meta->field('unknown')); }
public static function init(Meta $meta) { return $meta->field('name', new Field\String()); }