PHP code example of hotash / laravel-ignorable

1. Go to this page and download the library: Download hotash/laravel-ignorable library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

hotash / laravel-ignorable example snippets


ignorable(new Foo(), $whenToIgnore)
    ->call()->your()->method()
    ->discard($whenToDiscard) // callable or bool
    ->call()->more()->method()
    ->ignore($whenToIgnore) // callable or bool
    ->conditional()->method()->call()
    ->discard($whenToDiscard) // callable or bool
    ->again()->call()->your()->method()
    ->dump()->value;