private function parse(string $data): array
    {
        $registers = [
            'a'   => [],
            'd'   => false,
            'di'  => 0,
            'def' => [0 => '', 1 => '']
        ];

        for ($i = 0; $i < strlen($data); $i++) {
            if ($data[$i] === '@') {
                $registers['d'] = true;
            } elseif ($registers['d'] === true) {
                $this->parseCharacter($registers, $data[$i]);
            }
        }

        return $registers['a'];
    }
private function parse(string $data): array
    {
        $registers = [
            'a'   => [],
            'd'   => false,
            'di'  => 0,
            'def' => [0 => '', 1 => '']
        ];

        for ($i = 0; $i < strlen($data); $i++) {
            if ($data[$i] === '@') {
                $registers['d'] = true;
            } elseif ($registers['d'] === true) {
                $this->parseCharacter($registers, $data[$i]);
            }
        }

        return $registers['a'];
    }
private function parse ( string $ data ) : array { $ registers = [ 'a' => [ ] , 'd' => false , 'di' => 0 , 'def' => [ 0 => '' , 1 => '' ] ] ; for ( $ i = 0 ; $ i < strlen ( $ data ) ; $ i ++ ) { if ( $ data [ $ i ] === '@' ) { $ registers [ 'd' ] = true ; } elseif ( $ registers [ 'd' ] === true ) { $ this -> parseCharacter ( $ registers , $ data [ $ i ] ) ; } } return $ registers [ 'a' ] ; }
Parse doc. block annotations into array

@param string $data
@return array
Parse doc . block annotations into array