Sign in

colleague / study-project · Files

GitLab

  • Back to group
  • Project
  • Activity
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • study-project
  • trunk
  • ThinkPHP
  • Library
  • Vendor
  • Boris
  • Inspector.php
  • init
    d12db008
    马雄飞 authored
    2018-08-27 14:37:34 +0800  
    Browse Code »
Inspector.php 365 Bytes
Edit Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
<?php

/* vim: set shiftwidth=2 expandtab softtabstop=2: */

namespace Boris;

/**
 * Something that is capable of returning a useful representation of a variable.
 */
interface Inspector {
  /**
   * Return a debug-friendly string representation of $variable.
   *
   * @param mixed $variable
   *
   * @return string
   */
  public function inspect($variable);
}