public function addPrototype($prototype, array $options = array()) { $tokens = token_get_all('<?php ' . $prototype); array_shift($tokens); $this->prototypes[$prototype] = array( $tokens, $options, ); }