public function short($field, $attributes = []) { return $this->addField('short', $field, $attributes); }
/** * @test */ public function it_adds_a_short_map() { $blueprint = new Blueprint('post'); $blueprint->create(); $blueprint->short('age'); $statement = $blueprint->toDSL($this->getGrammar()); $this->assertEquals(['age' => ['type' => 'short']], $statement); }