public function is($type) { return $type === $this->getAction(); }
/** @test */ public function it_can_check_if_current_migration_type_matches_given_type() { $parser = new NameParser('create_users_table'); self::assertTrue($parser->is('create')); }