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: 1 year 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!') }}.

For more information send a message to info at phpclasses dot org.