Skip to content

Commit

Permalink
added snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
dcblogdev committed Jul 27, 2022
1 parent b102090 commit 6eb80e2
Show file tree
Hide file tree
Showing 115 changed files with 4,998 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"Recipe": false
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"Recipe": false
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"Recipe": true
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"Recipe": true
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
<?php

namespace Modules\Blog\Commands;

use Illuminate\Console\Command;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Input\InputArgument;

class AwesomeCommand extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $name = 'command:name';

/**
* The console command description.
*
* @var string
*/
protected $description = 'Command description.';

/**
* Create a new command instance.
*
* @return void
*/
public function __construct()
{
parent::__construct();
}

/**
* Execute the console command.
*
* @return mixed
*/
public function handle()
{
//
}

/**
* Get the console command arguments.
*
* @return array
*/
protected function getArguments()
{
return [
['example', InputArgument::REQUIRED, 'An example argument.'],
];
}

/**
* Get the console command options.
*
* @return array
*/
protected function getOptions()
{
return [
['example', null, InputOption::VALUE_OPTIONAL, 'An example option.', null],
];
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
<?php

namespace Modules\Blog\Commands;

use Illuminate\Console\Command;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Input\InputArgument;

class AwesomeCommand extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $name = 'command:name';

/**
* The console command description.
*
* @var string
*/
protected $description = 'Command description.';

/**
* Create a new command instance.
*
* @return void
*/
public function __construct()
{
parent::__construct();
}

/**
* Execute the console command.
*
* @return mixed
*/
public function handle()
{
//
}

/**
* Get the console command arguments.
*
* @return array
*/
protected function getArguments()
{
return [
['example', InputArgument::REQUIRED, 'An example argument.'],
];
}

/**
* Get the console command options.
*
* @return array
*/
protected function getOptions()
{
return [
['example', null, InputOption::VALUE_OPTIONAL, 'An example option.', null],
];
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
<?php

namespace Modules\Blog\Console;

use Illuminate\Console\Command;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Input\InputArgument;

class MyAwesomeCommand extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $name = 'command:name';

/**
* The console command description.
*
* @var string
*/
protected $description = 'Command description.';

/**
* Create a new command instance.
*
* @return void
*/
public function __construct()
{
parent::__construct();
}

/**
* Execute the console command.
*
* @return mixed
*/
public function handle()
{
//
}

/**
* Get the console command arguments.
*
* @return array
*/
protected function getArguments()
{
return [
['example', InputArgument::REQUIRED, 'An example argument.'],
];
}

/**
* Get the console command options.
*
* @return array
*/
protected function getOptions()
{
return [
['example', null, InputOption::VALUE_OPTIONAL, 'An example option.', null],
];
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
<?php

namespace Modules\Blog\Console;

use Illuminate\Console\Command;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Input\InputArgument;

class MyAwesomeCommand extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $name = 'my:awesome';

/**
* The console command description.
*
* @var string
*/
protected $description = 'Command description.';

/**
* Create a new command instance.
*
* @return void
*/
public function __construct()
{
parent::__construct();
}

/**
* Execute the console command.
*
* @return mixed
*/
public function handle()
{
//
}

/**
* Get the console command arguments.
*
* @return array
*/
protected function getArguments()
{
return [
['example', InputArgument::REQUIRED, 'An example argument.'],
];
}

/**
* Get the console command options.
*
* @return array
*/
protected function getOptions()
{
return [
['example', null, InputOption::VALUE_OPTIONAL, 'An example option.', null],
];
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?php

namespace Modules\Blog\View\Component\newDirectory;

use Illuminate\View\Component;

class Blog extends Component
{
/**
* Create a new component instance.
*
* @return void
*/
public function __construct()
{
//
}

/**
* Get the view / contents that represent the component.
*
* @return \Illuminate\View\View|string
*/
public function render()
{
return view('blog::components.blog');
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?php

namespace Modules\Blog\View\Component;

use Illuminate\View\Component;

class Blog extends Component
{
/**
* Create a new component instance.
*
* @return void
*/
public function __construct()
{
//
}

/**
* Get the view / contents that represent the component.
*
* @return \Illuminate\View\View|string
*/
public function render()
{
return view('blog::components.blog');
}
}
Loading

0 comments on commit 6eb80e2

Please sign in to comment.