2017 © Pedro Peláez
 

library hh-apc

Simple APC utility class for use with Hack.

image

yungsters/hh-apc

Simple APC utility class for use with Hack.

  • Friday, May 9, 2014
  • by yungsters
  • Repository
  • 0 Watchers
  • 0 Stars
  • 7 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

hh-apc

Simple APC utility class for use with Hack., (*1)

Usage

<?hh
$key = 'foo';
list($success, $value) = APC::get($key);
if (!$success) {
  invariant(
    APC::set($key, 'bar'),
    'Failed to set `%s` in APC.',
    $key,
  );
  list($success, $value) = APC::get('foo');
}
APC::delete('foo');

The Versions

09/05 2014

dev-master

9999999-dev

Simple APC utility class for use with Hack.

  Sources   Download

MIT

by Timothy Yung

09/05 2014

1.0.0

1.0.0.0

Simple APC utility class for use with Hack.

  Sources   Download

MIT

by Timothy Yung