Blame view

public/vendor/illuminate/support/Traits/Tappable.php 315 Bytes
86143e36f   Андрей Ларионов   Коммит вторник
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
  <?php
  
  namespace Illuminate\Support\Traits;
  
  trait Tappable
  {
      /**
       * Call the given Closure with this instance then return the instance.
       *
       * @param  callable|null  $callback
       * @return mixed
       */
      public function tap($callback = null)
      {
          return tap($this, $callback);
      }
  }