Overview

Namespaces

  • Composer
    • Autoload
  • Illuminate
    • Support
      • Contracts
      • Facades
  • Laravella
    • Cart
      • Facades
  • None
  • PHP

Classes

  • CartController
  • ComposerAutoloaderInit9c0b006a4274a87b7a6105d88b65eda5
  • CreateContactsTable
  • CreateContactTypesTable
  • CreateProductCategoriesTable
  • CreateProductsTable
  • DatabaseSeeder
  • DbController
  • Generic
  • ProductsSeeder

Functions

  • action
  • app
  • app_path
  • array_add
  • array_build
  • array_divide
  • array_dot
  • array_except
  • array_fetch
  • array_first
  • array_flatten
  • array_forget
  • array_get
  • array_only
  • array_pluck
  • array_pull
  • array_set
  • array_sort
  • asset
  • base_path
  • camel_case
  • class_basename
  • csrf_token
  • dd
  • e
  • ends_with
  • head
  • last
  • link_to
  • link_to_action
  • link_to_asset
  • link_to_route
  • object_get
  • public_path
  • route
  • secure_asset
  • secure_url
  • snake_case
  • starts_with
  • storage_path
  • str_contains
  • str_finish
  • str_is
  • str_plural
  • str_random
  • str_singular
  • studly_case
  • trans
  • trans_choice
  • url
  • value
  • with
  • Overview
  • Namespace
  • Class
  • Tree
 1: <?php use Illuminate\Database\Schema\Blueprint;
 2: use Illuminate\Database\Migrations\Migration;
 3: class CreateContactTypesTable extends Migration {
 4: 
 5:     /**
 6:      * Run the migrations.
 7:      *
 8:      * @return void
 9:      */
10:     public function up()
11:     {
12:             if (!Schema::hasTable('contact_types'))
13:             {
14:         Schema::create('contact_types', function(Blueprint $table)
15:         {
16:             $table->increments('id');
17:             $table->string('name');
18:             $table->timestamps();
19:         });
20:             }
21:     }
22: 
23:     /**
24:      * Reverse the migrations.
25:      *
26:      * @return void
27:      */
28:     public function down()
29:     {
30:             Schema::dropIfExists('contact_types');
31:     }
32: 
33: }
cart API documentation generated by ApiGen 2.8.0