[ Index ] |
PHP Cross Reference of phpBB-3.1.12-deutsch |
[Summary view] [Print] [Text view]
1 <?php 2 3 /* 4 * This file is part of the Symfony package. 5 * 6 * (c) Fabien Potencier <fabien@symfony.com> 7 * 8 * For the full copyright and license information, please view the LICENSE 9 * file that was distributed with this source code. 10 */ 11 12 namespace Symfony\Component\HttpKernel\Profiler; 13 14 /** 15 * ProfilerStorageInterface. 16 * 17 * @author Fabien Potencier <fabien@symfony.com> 18 */ 19 interface ProfilerStorageInterface 20 { 21 /** 22 * Finds profiler tokens for the given criteria. 23 * 24 * @param string $ip The IP 25 * @param string $url The URL 26 * @param string $limit The maximum number of tokens to return 27 * @param string $method The request method 28 * @param int|null $start The start date to search from 29 * @param int|null $end The end date to search to 30 * 31 * @return array An array of tokens 32 */ 33 public function find($ip, $url, $limit, $method, $start = null, $end = null); 34 35 /** 36 * Reads data associated with the given token. 37 * 38 * The method returns false if the token does not exist in the storage. 39 * 40 * @param string $token A token 41 * 42 * @return Profile The profile associated with token 43 */ 44 public function read($token); 45 46 /** 47 * Saves a Profile. 48 * 49 * @param Profile $profile A Profile instance 50 * 51 * @return bool Write operation successful 52 */ 53 public function write(Profile $profile); 54 55 /** 56 * Purges all data from the database. 57 */ 58 public function purge(); 59 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Thu Jan 11 00:25:41 2018 | Cross-referenced by PHPXref 0.7.1 |