public function collect(Request $request, Response $response, Exception $exception = null)
    {
        $objects = array();
        $objectNames = $this->flexModel->getObjectNames();
        foreach ($objectNames as $objectName) {
            $fieldNames = $this->flexModel->getFieldNames($objectName);

            $objects[] = array(
                'objectName' => $objectName,
                'fieldNames' => $fieldNames,
            );
        }

        $this->data = array(
            'objects' => $objects,
        );
    }
public function collect(Request $request, Response $response, Exception $exception = null)
    {
        $objects = array();
        $objectNames = $this->flexModel->getObjectNames();
        foreach ($objectNames as $objectName) {
            $fieldNames = $this->flexModel->getFieldNames($objectName);

            $objects[] = array(
                'objectName' => $objectName,
                'fieldNames' => $fieldNames,
            );
        }

        $this->data = array(
            'objects' => $objects,
        );
    }
public function collect ( Request $ request , Response $ response , Exception $ exception = null ) { $ objects = array ( ) ; $ objectNames = $ this -> flexModel -> getObjectNames ( ) ; foreach ( $ objectNames as $ objectName ) { $ fieldNames = $ this -> flexModel -> getFieldNames ( $ objectName ) ; $ objects [ ] = array ( 'objectName' => $ objectName , 'fieldNames' => $ fieldNames , ) ; } $ this -> data = array ( 'objects' => $ objects , ) ; }
Collect the specific FlexModel data for the Symfony Profiler.

@param Request   $request
@param Response  $response
@param Exception $exception
Collect the specific FlexModel data for the Symfony Profiler .