PHP Classes

File: examples/views/Test/inject.blade.php

Recommend this page to a friend!
  Classes of Jorge Castro   BladeOne   examples/views/Test/inject.blade.php   Download  
File: examples/views/Test/inject.blade.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: BladeOne
Standalone template engine that compiles into PHP
Author: By
Last change: Update of examples/views/Test/inject.blade.php
Date: 2 years ago
Size: 331 bytes


Class file image Download
@inject("metric" , 'App\Services\MetricsService')
@inject("simpleclass" ,'')
    Monthly Revenue: {{ $metric->monthlyRevenue() }}.
    Ping: {{ $simpleclass->ping('pong!') }}.

@inject("simpleclass" )

    Ping Again: {{ $simpleclass->ping('pong again!') }}.