You've already forked lubo_comment_query
app
Console
Exceptions
Http
Models
Providers
View
Components
Links
Append.php
WebAuthn
bootstrap
config
database
public
resources
routes
storage
tests
.editorconfig
.env.example
.gitattributes
.gitignore
.styleci.yml
README.md
artisan
build.sh
composer.json
composer.lock
package.json
phpunit.xml
server.php
tailwind.config.js
webpack.mix.js
yarn.lock
35 lines
616 B
PHP
35 lines
616 B
PHP
<?php
|
|
|
|
namespace App\View\Components;
|
|
|
|
use App\Models\ProgramAppends;
|
|
use Illuminate\View\Component;
|
|
|
|
class Append extends Component
|
|
{
|
|
/**
|
|
* @var ProgramAppends
|
|
*/
|
|
public $append;
|
|
|
|
/**
|
|
* Create a new component instance.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function __construct(ProgramAppends $append)
|
|
{
|
|
$this->append = $append;
|
|
}
|
|
|
|
/**
|
|
* Get the view / contents that represent the component.
|
|
*
|
|
* @return \Illuminate\Contracts\View\View|\Closure|string
|
|
*/
|
|
public function render()
|
|
{
|
|
return view('components.append');
|
|
}
|
|
}
|