records = [ [ 'id' => self::ADMIN_API_ID, 'uuid' => $faker->uuid(), 'authkey' => $hasher->hash(self::ADMIN_API_KEY), 'authkey_start' => substr(self::ADMIN_API_KEY, 0, 4), 'authkey_end' => substr(self::ADMIN_API_KEY, -4), 'expiration' => 0, 'user_id' => UsersFixture::USER_ADMIN_ID, 'comment' => '', 'created' => $faker->dateTime()->getTimestamp(), 'modified' => $faker->dateTime()->getTimestamp() ], [ 'id' => self::SYNC_API_ID, 'uuid' => $faker->uuid(), 'authkey' => $hasher->hash(self::SYNC_API_KEY), 'authkey_start' => substr(self::SYNC_API_KEY, 0, 4), 'authkey_end' => substr(self::SYNC_API_KEY, -4), 'expiration' => 0, 'user_id' => UsersFixture::USER_SYNC_ID, 'comment' => '', 'created' => $faker->dateTime()->getTimestamp(), 'modified' => $faker->dateTime()->getTimestamp() ], [ 'id' => self::ORG_ADMIN_API_ID, 'uuid' => $faker->uuid(), 'authkey' => $hasher->hash(self::ORG_ADMIN_API_KEY), 'authkey_start' => substr(self::ORG_ADMIN_API_KEY, 0, 4), 'authkey_end' => substr(self::ORG_ADMIN_API_KEY, -4), 'expiration' => 0, 'user_id' => UsersFixture::USER_ORG_ADMIN_ID, 'comment' => '', 'created' => $faker->dateTime()->getTimestamp(), 'modified' => $faker->dateTime()->getTimestamp() ], [ 'id' => self::REGULAR_USER_API_ID, 'uuid' => $faker->uuid(), 'authkey' => $hasher->hash(self::REGULAR_USER_API_KEY), 'authkey_start' => substr(self::REGULAR_USER_API_KEY, 0, 4), 'authkey_end' => substr(self::REGULAR_USER_API_KEY, -4), 'expiration' => 0, 'user_id' => UsersFixture::USER_REGULAR_USER_ID, 'comment' => '', 'created' => $faker->dateTime()->getTimestamp(), 'modified' => $faker->dateTime()->getTimestamp() ] ]; parent::init(); } }