File "component-class.stub"

Full Path: /home/pulsehostuk9/public_html/invoicer.pulsehost.co.uk/vendor/invoiceshelf/modules/src/Commands/stubs/component-class.stub
File size: 461 bytes
MIME-type: text/x-php
Charset: utf-8

<?php
namespace $NAMESPACE$;
use Illuminate\View\Component;
class $CLASS$ 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('$LOWER_NAME$::$COMPONENT_NAME$');
    }
}