Sha256: 4a863d2211644174730e01eaaa51c54f228ca01fe66f394969831c3409cf6240
Contents?: true
Size: 366 Bytes
Versions: 7
Compression:
Stored size: 366 Bytes
Contents
<?php namespace Predis\Options; class Option implements IOption { public function validate($value) { return $value; } public function getDefault() { return null; } public function __invoke($value) { if (isset($value)) { return $this->validate($value); } return $this->getDefault(); } }
Version data entries
7 entries across 7 versions & 1 rubygems