Skip to content

Instantly share code, notes, and snippets.

@ssmusoke
Created March 29, 2012 18:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save ssmusoke/2241826 to your computer and use it in GitHub Desktop.
Save ssmusoke/2241826 to your computer and use it in GitHub Desktop.
Offending Child Loading Code
<?php
$family = loadEntity('Family', 1); // wrapper for entity manager
// verify that there are more than one child
echo "There are ".count($family->getChildren())." children");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment