protected function getMarkerCounter(ProjectDescriptor $project)
    {
        $markerCounter = 0;

        /* @var $fileDescriptor FileDescriptor */
        foreach ($project->getFiles()->getAll() as $fileDescriptor) {
            $markerCounter += $fileDescriptor->getMarkers()->count();
        }

        return $markerCounter;
    }
protected function getMarkerCounter(ProjectDescriptor $project)
    {
        $markerCounter = 0;

        /* @var $fileDescriptor FileDescriptor */
        foreach ($project->getFiles()->getAll() as $fileDescriptor) {
            $markerCounter += $fileDescriptor->getMarkers()->count();
        }

        return $markerCounter;
    }
protected function getMarkerCounter ( ProjectDescriptor $ project ) { $ markerCounter = 0 ; /* @var $fileDescriptor FileDescriptor */ foreach ( $ project -> getFiles ( ) -> getAll ( ) as $ fileDescriptor ) { $ markerCounter += $ fileDescriptor -> getMarkers ( ) -> count ( ) ; } return $ markerCounter ; }
Get number of markers.

@return int
Get number of markers .