Skip to content

Instantly share code, notes, and snippets.

@Palleas
Created May 4, 2011 12:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Palleas/955136 to your computer and use it in GitHub Desktop.
Save Palleas/955136 to your computer and use it in GitHub Desktop.
<?php
$server = new \Zend\Amf\Server();
$server->setClass(new SuperServiceTestClass());
$server->setClassMap('com.palleas.timeline.TimelineElement', 'Palleas\\TimelineBundle\\Document\\TimelineElement');
$serverResponse = $server->handle();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment